modifying grub bootloader w/ gui (rh8)
When my bootloader comes up I can choose Linux (master hd - hda1) and it will boot fine..but i try and choose the Windows hd (slave hd -- hdb1) it says disc not found..I tried running through the rescue options on the rh8 installation but I didn't have any luck installing a new bootloader..is there anyway within the gui of rh8 to modify what hd and where it accesses the files so I can get my windows back up and working (the hd has win already installed and works properly)
|
if linux automounts the windows hard drive, run
df whilst at the console, that will give you the actual mount point So, if you find the actual HDD then you can edit the grub boot menu /boot/grub/some file ... real obvious when you look, but i haven't got it here :P alternatively, /etc/fstab contains a list of all mount points IF however you don't have a mount point configured, then you need to work out where the HDD is actually connected primary master is /dev/hda primary slave is /dev/hdb seconday master is /dev/hdc and secondary slave is /dev/hdd so where ever it is. then you need to know what partition on it, but that's easy enough really coz odds are it's the first one so just try mounting the different /dev/hdb1 etc to some directory (that's empty) for instance mkdir ~/temp mount /dev/hdb1 ~/temp ~ is your home directory /home/YOU when you find what HDD contains all the windows directories, just point grub to it. Now be reasonable run df first, to see if it's mounted, then mount the drives in sequence so mount the first, then umount it, then the second until you're done you might need to be root, i forget, you will need to be root to edit the grub menu. Unfortunately all of this happens in the console, except for editing grub. One last thing, don't change the lines in grub that relate to linux, coz if you do, you might break the bootloader (so if you ain't sure, BACK UP) best of luck |
thanks for all the info..ill try that and see how it goes
|
Here is my grub.conf file:
**** default=0 timeout=0 splashimage=(hd0,0)/grub/splash.xpm.gz title Red Hat Linux (2.4.18-14) root (hd0,0) kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ initrd /initrd-2.4.18-14.img title Windows rootnoverify (hd1,0) chainloader +1 **** in my df list i have the primary slave mounted as: /dev/hdb1 /mnt/win My question is, what/how do I edit the grub file to point to this other HD so in my GRUB menu I can boot to either win or lin? |
All times are GMT -5. The time now is 02:01 AM. |