andylinux
March 29th, 2009, 02:56 PM
I like to use unetbootin to install ubuntu desktop (live cd) using a usb drive. This is very useful for testing. I also use the GAG boot loaded on my master boot record. Thus when installing I need to install grub to the boot sector of the partition. However the recent versions of the Ubuntu live installer no longer have the option to do this. You can pick the option to install to the master boot record or not install grub. I wish they option would not have been removed.
So when I do the live cd install I tell it not to install grub but then I cannot figure out how to install grub manually after the fact to the boot record. All the grub installs howtos I found searching the forum refer to fixing a grub install but on my system grub is not installed at all.
The closest I got was to do the following,
Boot live cd,
sudo mkdir /mnt/root
sudo mount /dev/sda5 /mnt/root
sudo sudo grub-install --root-directory=/mnt/root /dev/sda5
This seems to work as I now have a grub directory in /boot/ of my new installation. However when I boot I just get a grub prompt because I don't have a menu menu.lst file.
Any suggestions? I know I can do the install using the alternative cd but I hate having to burn a new cd everytime and the live install using from usb is much faster then cd.
Thanks for the help.
So when I do the live cd install I tell it not to install grub but then I cannot figure out how to install grub manually after the fact to the boot record. All the grub installs howtos I found searching the forum refer to fixing a grub install but on my system grub is not installed at all.
The closest I got was to do the following,
Boot live cd,
sudo mkdir /mnt/root
sudo mount /dev/sda5 /mnt/root
sudo sudo grub-install --root-directory=/mnt/root /dev/sda5
This seems to work as I now have a grub directory in /boot/ of my new installation. However when I boot I just get a grub prompt because I don't have a menu menu.lst file.
Any suggestions? I know I can do the install using the alternative cd but I hate having to burn a new cd everytime and the live install using from usb is much faster then cd.
Thanks for the help.