LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   grub help needed cmd/menu mode boot prob/setup (https://www.linuxquestions.org/questions/linux-software-2/grub-help-needed-cmd-menu-mode-boot-prob-setup-252125/)

vlinux 11-07-2004 01:49 PM

grub help needed: cmd/menu mode boot prob/setup
 
used to have grub-*menu*-mode driven multi-boot (rh linux/windows)

then while in windows, used partitionmagic (PM)...(don't believe i made any changes though)

now grub boots in cmd-mode and i have to type everything in

ie: (for win)
>rootnoverify(hd0,0)
>chainloader +1
>boot

and now...for linux...it appears the partitions have been reassigned by PM?

ie: (for linux)
>root (hd0,8) -> now have to type root(hd0,5)
>kernal ...
>initrd ...
>boot

i think my swap partiiton is different too...i saw it failed while booting linux


q1- how do i get grub back to menu-mode and read grub
menu config (i guess:menu.lst?)

q2-what about my other linux partitions? swap, etc.


(i am a newbie...be gentle :) )


much appreciated.

michaelk 11-07-2004 02:55 PM

Boot the install CD and select rescue mode. Your root partition will be mounted at /mnt/sysimage.

The menu.lst is linked to /etc/grub.conf (/mnt/sysimage/etc/grub.conf)

To see the other partitions
fdisk -l /dev/hda (thats a small L) (change /dev/hda if different)

aus9 11-07-2004 09:32 PM

grub command from hd0,8 to 5 tells you that THERE were changes to your /boot partition or the /boot sub-folder to /

but also tells you what to amend once you boot into linux.

2) you don't need to use a rescue cd to boot as you can already use command grub.

3) But I do agree that you will need to run fdisk or cfdisk or qtparted to see what your new partitions are and then amend /etc/fstab file accordingly

4) it would be handy to keep a record of your /etc/fstab file

vlinux 11-13-2004 12:34 PM

thx mate.
i got it working using your post & tutorial...and finally:

>root(hd0,5)
>setup(hd0)


All times are GMT -5. The time now is 10:49 AM.