Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-07-2004, 02:49 PM   #1
LQ Newbie
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
Question 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)
>chainloader +1

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

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

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 gentle )

much appreciated.

Last edited by vlinux; 11-07-2004 at 03:20 PM.
Old 11-07-2004, 03:55 PM   #2
Registered: Aug 2002
Posts: 24,999

Rep: Reputation: 5683Reputation: 5683Reputation: 5683Reputation: 5683Reputation: 5683Reputation: 5683Reputation: 5683Reputation: 5683Reputation: 5683Reputation: 5683Reputation: 5683
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)
Old 11-07-2004, 10:32 PM   #3
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,840

Rep: Reputation: Disabled
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

Last edited by aus9; 11-07-2004 at 10:34 PM.
Old 11-13-2004, 01:34 PM   #4
LQ Newbie
Registered: Nov 2004
Posts: 2

Original Poster
Rep: Reputation: 0
thx mate.
i got it working using your post & tutorial...and finally:



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
need to access /boot/grub/menu.lst and /boot/grub/ neouto Linux - Newbie 8 09-04-2005 12:45 PM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 09:01 PM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-13-2004 12:40 AM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 09:13 PM
boot prob with lilo/grub using redhat 7.3 shaukat Red Hat 3 09-29-2003 05:48 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration