The General
Banned
- Messages
- 5,191
For some reason, etch beta 2 won't install GRUB and I need to do it manually with a Knoppix disc. I didn't want to screw anything up, but I found this in a forum and it looked promising, I just need help in changing some stuff to make it work with my computer.
Here's my computer:
/dev/sda1 (150gb Windows)
/dev/sda3 (96gb / )
/dev/sda2 (4gb swap)
/dev/sdb (250gb LVM)
/dev/sdc (250gb LVM)
/dev/hda (cdrom0)
/dev/hdb (cdrom1)
/dev/sdb1 + /dev/sdc1 = 500gb of /home
Here's my question, am I right in converting this "howto" to my computer by doing this:
And once I do that, I can just edit my /boot/grub/menu.lst and add Windows on the list?
Mount the partition (provide the correct HD notation for hdax):
# mount -o dev,rw /mnt/hdax
If it's already mounted, remount it like this:
# mount -o remount,dev,rw /mnt/hdax
Now, restore grub like this:
# chroot /mnt/hda1 grub-install /dev/hda
If the chroot method doesn't work, try remounting as outlined above and do:
# grub-install -root-directory=/mnt/hda1 /dev/hda
Here's my computer:
/dev/sda1 (150gb Windows)
/dev/sda3 (96gb / )
/dev/sda2 (4gb swap)
/dev/sdb (250gb LVM)
/dev/sdc (250gb LVM)
/dev/hda (cdrom0)
/dev/hdb (cdrom1)
/dev/sdb1 + /dev/sdc1 = 500gb of /home
Here's my question, am I right in converting this "howto" to my computer by doing this:
Mount the partition (provide the correct HD notation for hdax):
# mount -o dev,rw /mnt/sda
If it's already mounted, remount it like this:
# mount -o remount,dev,rw /mnt/sda
Now, restore grub like this:
# chroot /mnt/sda3 grub-install /dev/sda
If the chroot method doesn't work, try remounting as outlined above and do:
# grub-install -root-directory=/mnt/sda3 /dev/sda
And once I do that, I can just edit my /boot/grub/menu.lst and add Windows on the list?