On Thursday 21 April 2005 16:52, Vickram Crishna wrote:
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).
your cdrom would mostly be the slowpoke non-dma-spin-for-1-hr-before -doing-anything type. And most likely 64mb of your ram is eaten up by your on board graphics which actually requires 4mb to work wasting 60mb.so there.
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
sudo grub-install /dev/hda sudo nano /mnt/hda6/boot/grub/menu.lst
then add the stuff listed in the previous mail and save. Also afaik rh9.0 uses an initrd image file so u need a line after the kernel line initrd=/??/initrd.img
RH9.0 users will be able to tell u the /?? directory. afaik it is /boot
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
^^^^^^^^^^^ that should be menu. l as in list not 1 as in one.
u can also use ubuntu as a rescue disc. when you get the boot screen type /boot/vmlinuz-2.6.8.1-3-386 intitrd=/initrd/initrd.img root=/dev/hda6
that should take you to the rh root partition.
And if all this is too confusing just use debian sarge.
rgds jtd