Grub
Christopher Chan
christopher.chan at bradbury.edu.hk
Thu May 7 23:57:26 UTC 2009
Willis Taylor wrote:
> I have a grub/menu.lst on dev/sda16 that i cannot update, Shell only,
> and a great installation on dev/sda1 that has updated to the latest
> kernel and I do not access it on boot. I sent the following message to
> the local ubuntu team;
> I installed Hardy and then put in the Hardy U-Studio disk. I now
> have
> one totally unusable studio installation that is occupying half
> my hdd
> and I need to recover it. Gparted reads;
>
> Parition FS Mount Size used
> /dev/sda1 ext3 / 37.07gb 11.51gb
> /dev/sda2 extended 37.46gb --
> /dev/sda6 ext3 37.92gb 918.2mb
> /dev/sda7 linux-swap 1.46gb
> /dev/sba5 linux-swap 3,08gb
>
> Can anyone tell me how to get out of this mess and still be able
> to
> boot?
>
> the reply was:
> Actually, all you need is something that can access grub on the hd this
> is on, that way you can delete the entries for linux and simply delete
> the partition. This will leave grub on there, but it will work just the
> same
>
>
> As harsh as it seems, will deleting the faulty installation from the
> harddrive cause it to default to sda1?
>
>
>
>
You will need to reinstall grub. I believe grub is installed on the mbr
in your case what you need to do to boot up the system in /dev/sda1 is:
After grub loads up, hit ESC.
Hit C for console.
Type
root (hd0,0)
configfile /boot/grub/menu.1st
Boot up and reinstall grub.
More information about the ubuntu-users
mailing list