At 7:53 PM +0530 4/20/05, sherlock wrote:
>grub-install /dev/hda
I am booting up right now from the Live Ubuntu CD. To anyone who
wants to use this CD to learn or teach, I can only say I hope you
have a lot of patience, because commands work really slowly (Celeron
500 with 128 MB RAM).
I can open and use the root terminal application inside Ubuntu, and I
tried to execute the grub install from the command line, but it
failed. After a little thought (actually quite a lot of thought) I
tried this line
grub-install /mnt/hda6/dev/hda
since I am not actually running off an installed OS. This failed as
well, returning the grub help screen again, this time saying the
install_device is not recognised.
>
>After that you only need to edit ../grub/menu.lst or cut and paste
>the lines below into a text file called menu.lst and save it to ../grub
>
>root (hd0,5)
>boot=/dev/hda
>default=0
>timeout=10
>
>...etc etc
I did this exactly as described. I cannot use the gredit graphic text
editor application to write at all to the hard disks - they either
return no action and no error message or else I am told the disk is
read-only. I guess the graphic applications are not run under root,
and with a Live CD there must be no way to become root except with
the specific root terminal application. But that's not a complete
stopper, because vi works from the root terminal application within
Ubuntu. I have written menu.1st to /grub and copied it as grub.conf
to /etc, too, as advised by Derwyn.
Please advise me how to get the grub installed on the boot directory
(on hda), using this Ubuntu Live CD, or else I will wait till I can
borrow the RH9 CDs again.
--
Vickram