Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 18 of 18
can you post the output of Code: sudo fdisk -l...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043

    can you post the output of
    Code:
    sudo fdisk -l

  2. #12
    Just Joined!
    Join Date
    Sep 2011
    Location
    Italy
    Posts
    12
    That's it.
    Disk /dev/sda: 60.0 GB, 60011642880 bytes
    255 heads, 63 sectors/track, 7296 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xdc6adc6a

    Device Boot Start End Blocks Id System
    /dev/sda1 1 13 104391 83 Linux
    /dev/sda2 14 46 265072+ 82 Linux swap / Solaris
    /dev/sda3 5991 7296 10483712 7 HPFS/NTFS
    /dev/sda4 47 5991 47751168 83 Linux

    Partition table entries are not in disk order

  3. #13
    Just Joined!
    Join Date
    Sep 2011
    Location
    Italy
    Posts
    12
    What I have to do for restoring the Grub? I tried with Super Grub Disk but it don't find any OS. I'm going out of my mind.

  4. $spacer_open
    $spacer_close
  5. #14
    Just Joined!
    Join Date
    Sep 2011
    Location
    Italy
    Posts
    12
    From Ubuntu, I formatted the first partition, where there was the boot loader, but when I try to install it with the command
    grub> setup (hd0,0)
    from the grub console it gives me this error.
    Error 12: Invalid device requested
    Please, help me

  6. #15
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    In your last post, you indicate you are using Ubuntu. Which version? 11.04 the latest? Ubuntu has been using Grub2 since version 9.10, so if you have a version newer than 9.10 the setup command you posted will not work. The commands are different for Grub2. Are you now using the Ubuntu CD? When you ran the dd command suggested above, what was the output? Did you get any error/warning messages or did it seem to work?

    In your post #10 above, you say xp is not booting. You'll need to give more specifics as to exactly what happens from the point of putting the CD in the drive and rebooting with it. Do you get a black screen? The windows setup? Error/warning messages?

    Also, you already have four primary partitions according to your fdisk output above with a windows partition on sda3. What is that? Data partition? Where are you trying to install xp?

  7. #16
    Just Joined!
    Join Date
    Sep 2011
    Location
    Italy
    Posts
    12
    I'm running the last Ubuntu CD live, the 11.04. Can you please say to me what is the right command to run?

    When I gave the dd command I didn't received any errors, but I don't remember the output.

    I have 4 primary partitions but one (the ntfs one) is for windows. I tried to format it before to install windows because the boot didn't start.

    thanks for your support.

  8. #17
    Just Joined!
    Join Date
    Sep 2011
    Location
    Italy
    Posts
    12
    Maybe I have to recreate the partitions table, but is this gonna erase all my entire disk?

  9. #18
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    I'm not really sure what your intentions are. You have a windows partition (sda3). What is that? Is it a data partition? Is that where you previously had windows installed?

    Again, what exactly happens when you put your xp CD in the drive and boot from that?

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •