LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-09-2013, 08:03 AM   #1
pls_help_URGENT
Member
 
Registered: Aug 2012
Posts: 42

Rep: Reputation: Disabled
What does /dev/sda2 correspond to in menu.lst?


sudo os-prober
Code:
No volume groups found
/dev/sda2:openSUSE 11.3 (x86_64):SuSE:linux
Suppose I wish to add the OS found in sda2 in menu.lst, what should be the edit to the following entries?

Code:
sudo cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Sat Jan 19 17:19:18 IST 2013
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,4)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.4 - 2.6.37.1-1.2
    root (hd0,4)
    kernel /boot/vmlinuz-2.6.37.1-1.2-desktop root=/dev/disk/by-id/ata-ST3250310AS_6RYNQEXY-part5 resume=/dev/disk/by-id/ata-ST3250310AS_6RYNQEXY-part1 splash=silent quiet showopts vga=0x31a
    initrd /boot/initrd-2.6.37.1-1.2-desktop

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.4 - 2.6.37.1-1.2
    root (hd0,4)
    kernel /boot/vmlinuz-2.6.37.1-1.2-desktop root=/dev/disk/by-id/ata-ST3250310AS_6RYNQEXY-part5 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
    initrd /boot/initrd-2.6.37.1-1.2-desktop

###Don't change this comment - YaST2 identifier: Original name: PPP###
title PPP -- openSUSE 11.4 - 2.6.37.1-1.2
    root (hd0,4)
    kernel /boot/vmlinuz-2.6.37.1-1.2-desktop root=/dev/disk/by-id/ata-ST3250310AS_6RYNQEXY-part5 resume=/dev/disk/by-id/ata-ST3250310AS_6RYNQEXY-part1 splash=silent quiet showopts vga=0x31a
    initrd /boot/initrd-2.6.37.1-1.2-desktop



###Don't change this comment - YaST2 identifier: Original name: Linux other###
title Linux other
    rootnoverify (hd0,1)
    chainloader +1
 
Old 04-09-2013, 09:18 AM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Opensuse is still using GRUB 1 in that case it is (hd0,1)
 
Old 04-09-2013, 09:52 AM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
The OP also has an installation on (hd0,4) which probably means that previous os wasn't removed but new OS was installed side-by-side.
In either case support has ended on 11.3 & 11.4, unless, 11.4 is Evergreen. The present is 12.2 with support until jan 2014 & future 12.3.
 
1 members found this post helpful.
Old 04-11-2013, 06:06 AM   #4
pls_help_URGENT
Member
 
Registered: Aug 2012
Posts: 42

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
The OP also has an installation on (hd0,4) which probably means that previous os wasn't removed but new OS was installed side-by-side.
Reading that I remember now that previously I had compiled (with changes) once the kernel (do not remember which version) and tried to boot from it. Now that kernel does show up the boot menu at startup.

Meanwhile, could anyone explain me that what is meant by (hd0,4), (hd0,1) etc.
What do they represent?
 
Old 04-11-2013, 02:06 PM   #5
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
HD0 = sda is the first HD to boot
(HD0.1) is the second partition = sda2 GRUB start counting at Zero
You can read all this on the explanation of GRUB1 just google for it
 
1 members found this post helpful.
Old 04-12-2013, 07:58 AM   #6
pls_help_URGENT
Member
 
Registered: Aug 2012
Posts: 42

Original Poster
Rep: Reputation: Disabled
Thanks, will read about GRUB1.
 
  


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
Readjust disk space between /dev/sda2 and /dev/sda5 born2bdesi Linux - Newbie 23 12-20-2010 11:40 PM
[SOLVED] lost grub menu after windows installation & forgot to backup menu.lst jesman1 Linux - Kernel 4 08-12-2010 11:57 PM
waiting for /dev/sda2 to appear tikit Linux - Hardware 5 06-19-2010 03:05 AM
Grub Menu doesn't reflect menu.lst file fatsheep Linux - Software 4 06-11-2007 01:29 PM
/dev/sda2 gone?? bmayersohn Linux - Hardware 4 12-29-2005 01:32 PM


All times are GMT -5. The time now is 04:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration