[ale] Booting partition using grub

Christopher Fowler cfowler at outpostsentinel.com
Fri Feb 3 07:44:06 EST 2006


I've created a 1GB disk in VMware and I'm using ubuntu live to make the
hard disk bootable.  Here is how I do it.

# fdisk /dev/hda1
  Create type 83 partion

# mount /dev/hda1 /mnt
# cd /mnt
# mkdir boot
# cd boot
# scp XXX.XXX.XXX.XXX:RemoteNode/kernel .
# scp XXX.XXX.XXX.XXX:RemoteNode/grub.tar.bz2
# tar -xjf grub.tar.bz2
# cd grub
# vim grub.conf
default=0
timeout=5
title RemoteNode
        root (hd0,0)
        kernel /boot/kernel
# grub
  grub> root (hd0,0)
    Filesystem type is ext2fs, partition type 0x83
  grub> install (hd0)
    Checking if "/boot/grub/stage1" exists... yes
    Checking if "/boot/grub/stage2" exists... yes
    Checking if "/boot/grub/e2fs_stage1_5" exists... yes
    Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  16 sectors
    are embedded.
    succeeded
    Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p  
    (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
    Done.
# cd /
# umount /mnt
# reboot

The problem is that grub does not seem to execute.  I get a cursor then
the CPU usage on the host goes through the roof and the system appears
locked.  Just like when the boot sector is screwed.

Did I forget an important step?






More information about the Ale mailing list