Find the answer to your Linux question:
Results 1 to 5 of 5
Hey again guys, I just repartitioned my disk to: Disk /dev/sdb: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    40

    [SOLVED] GRUB2 No such disk error

    Hey again guys, I just repartitioned my disk to:

    Disk /dev/sdb: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0006dbbb

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 24918 200153803+ 83 Linux
    /dev/sdb2 24919 25179 2096482+ 82 Linux swap / Solaris
    /dev/sdb3 * 25180 30401 41945715 b W95 FAT32

    and reinstalled GRUB2 because I installed XP on the FAT32 partition (forgot to convert to NTFS in Windows setup, will do it again) and it overwrote GRUB2.

    Now I get the grub rescue prompt and when I try to do "insmod (hd0,1)/boot/grub/linux.mod" I get "Error: no such disk", this is really pissing me off because I know the disk is there, and I know I'm pointing to the right partition. "ls" at the grub rescue prompt gets "(hd0) (hd0,1) (hd0,2) (hd0,3) (fd0)"..

    Anyone know what the problem could be?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    /dev/sdb 1 24918 200153803+ 83 Linux
    Are you sure its hd0 not hd1?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Aug 2009
    Posts
    40
    yeah I have my main HDD plugged in via USB and I'm running Ubuntu on my old hard drive..
    It's hd0/sda when it's in the IDE slot.

    This is a laptop BTW with no optical :S I can do PXE though..

  4. #4
    Just Joined!
    Join Date
    Aug 2009
    Posts
    40
    I'm pretty sure that just reinstalling will fix it.. but I want to know, if I tar copy all my files, system and everything to another disk, reinstall, then copy it all back over, will it be exactly the same as it was?

  5. #5
    Just Joined!
    Join Date
    Aug 2009
    Posts
    40
    Don't worry got it all working again using RIPLinux over PXE

Posting Permissions

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