Re: select grub partition
On Wed, 18 Apr 2007 16:46:14 -0400, Roby wrote:
>> I installed etch with debootstrap on the second and installed grub there,
>> too. This second partion is now flaged as boot. But still the system boots
>> from the first partition using the setting of grub on this partition.
>>
>> What do I have to do to make it boot from the second partition with the
>> grub there?
>>
> This should do it:
> grub> root (hd0,1) # Tell grub where
> grub> setup (hd0) # Rewrite MBR
> grub> quit
> ... Next boot will be from hda2 (or maybe sda2)
I tried "grub> root (hd0,<TAB>". But grub told me that it does not find
anything under hd0.
Two things to consider:
1. The disk is actually hardware RAIDs (/dev/cciss/c0d0) and hda is a
cdrom drive.
2. I tried to do as much as possible chrooted into the new etch
installation to prevent version conflicts. But chrooted it does not even
list cciss under /dev.
I tried to do everything remote. But after the last reboot the system is
offline. So I have to drive there anyway.
/m
Reply to: