Grub Error 17

Soldato
Joined
1 Jul 2007
Posts
21,889
Location
Various
I have Ubuntu 8.10 installed on an SD card in my Eee PC, with XP still on the SSDs. to boot Ubuntu I must go into the BIOS and switch to booting from the SD rather than the SSD. However, recently I have been getting Grub error 17.

I assume that I need to reinstall Grub to fix this - how do I go about doing so?

Secondly, is it possible for me to reinstall Grub on the SSD so I don't need to go into the BIOS to switch between Windows and Ubuntu?

Cheers :D
 
Oh really? Didn't realise that, assumed that it would just take me into the live installation. I need to find a 1GB USB stick to put the live CD on before I can do that then, don't think that I have one - will try to get hold of one from work tomorrow, so I'll get back to you then!
 
Well, you can access your installed system's files on disk. There is even trickery that can be used if you wanted to transfer the system from running off of the LiveCD to the one on disk whithout rebooting. However in this case the CD will give the same result as the real thing. The command "sudo fdisk -l" will tell us what device numbers Linux has assigned to your disks.

The command "cat /boot/grub/device.map" will tell us what the LiveCD sees as the boot device map.

eXor, will the map command listed above return the same result regardless of whether it's running off of the CD or the hard disk? If not shouldn't it be more like
Code:
cat /media/disk1/boot/grub/device.map
assuming the Linux HDD is mounted as /media/disk1
 
eXor, will the map command listed above return the same result regardless of whether it's running off of the CD or the hard disk? If not shouldn't it be more like
Code:
cat /media/disk1/boot/grub/device.map
assuming the Linux HDD is mounted as /media/disk1

You're right. That's why I asked for the fdisk output.

In the older versions of Windows, you could boot a kernel right from within Windows, with loadlin. Doubt it would work with XP / Vista.

Would have made life a lot easier. :p
 
Back
Top Bottom