LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 11-07-2004, 02:49 PM   #1
vlinux
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)
>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.

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

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
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
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

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
vlinux
LQ Newbie
 
Registered: Nov 2004
Posts: 2

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

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


Reply


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/device.map 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


All times are GMT -5. The time now is 07:05 PM.

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