Help with GRUB
Help with GRUB
Can someone who is running GRUB on the MBR of their boot drive please post their /boot/grub/menu.lst. I am looking for a menu.lst that has an entry for the recovery partition, which I believe is called 'IBM Service partition' in the boot menu (or something like that). I am trying to recreate that boot entry which got lost the last time I installed Linux. Thanks!
-
tarvoke
- Junior Member

- Posts: 273
- Joined: Sun Mar 25, 2007 12:45 pm
- Location: Slightly Outside America
none of my machines has anymore recovery partition, so I can't offer 100% positive answer.
but this looks right to me and is more or less what I was going to suggest off the top of my head before double checking vs google:
http://www.thinkwiki.org/wiki/Talk:Resc ... _from_GRUB
of course that assumes the service partition is 2nd on the disk (I think on my x61 it was actually first?! hd0,0) and that it is fat32 (type b; apparently this may be needed if r&r had set its partition to a fake/wrong type to prevent windows from seeing it) -- ymmv. also it can't hurt to use rootnoverify instead of just root, when dealing with windows.
but this looks right to me and is more or less what I was going to suggest off the top of my head before double checking vs google:
http://www.thinkwiki.org/wiki/Talk:Resc ... _from_GRUB
Code: Select all
parttype (hd0,1) 0x0b
title IBM Rescue and Recovery
root (hd0,1)
chainloader +1go away.
tarvoke thanks. That entry boots into Vista, so it must fail then default into it. Here's some additional information;
Code: Select all
linux-u0jq:/home/harryc # fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf858f479
Device Boot Start End Blocks Id System
/dev/sda1 1 862 6915072 27 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2 * 862 10528 77648760 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3 10528 19457 71723024 f W95 Ext'd (LBA)
Partition 3 does not end on cylinder boundary.
/dev/sda5 10528 10789 2095424 82 Linux swap / Solaris
/dev/sda6 10789 13401 20978968+ 83 Linux
/dev/sda7 13401 19457 48648568+ 83 Linux
Disk /dev/sdb: 1037 MB, 1037615104 bytes
256 heads, 32 sectors/track, 247 cylinders
Units = cylinders of 8192 * 512 = 4194304 bytes
Disk identifier: 0xc3072e18
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 248 1013279+ 4 FAT16 <32MCode: Select all
linux-u0jq:/home/harryc # cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Sun Dec 16 16:39:13 EST 2007
default 3
timeout 8
gfxmenu (hd0,5)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title Debug -- openSUSE 10.3 - 2.6.22.13-0.3
root (hd0,5)
kernel /boot/vmlinuz-2.6.22.13-0.3-debug root=/dev/disk/by-id/scsi-SATA_FUJITSU_MHW2160_K10FT7A263U1-part6 vga=0x31a resume=/dev/sda5 splash=silent showopts
initrd /boot/initrd-2.6.22.13-0.3-debug
###Don't change this comment - YaST2 identifier: Original name: linux-2.6.22.13-0.3-default###
title openSUSE 10.3 - 2.6.22.13-0.3
root (hd0,5)
kernel /boot/vmlinuz-2.6.22.13-0.3-default root=/dev/disk/by-id/scsi-SATA_FUJITSU_MHW2160_K10FT7A263U1-part6 vga=0x31a resume=/dev/sda5 splash=silent showopts
initrd /boot/initrd-2.6.22.13-0.3-default
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3 - 2.6.22.13-0.3
root (hd0,5)
kernel /boot/vmlinuz-2.6.22.13-0.3-default root=/dev/disk/by-id/scsi-SATA_FUJITSU_MHW2160_K10FT7A263U1-part6 vga=normal showopts ide=nodma apm=off acpi=off noresume edd=off 3
initrd /boot/initrd-2.6.22.13-0.3-default
###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
rootnoverify (hd0,5)
chainloader (hd0,1)+1
###Don't change this comment - YaST2 identifier: Original name: recovery###
parttype (hd0,1) 0x0b
title IBM Rescue and Recovery
root (hd0,1)
chainloader +1
-
carbon_unit
- Moderator Emeritus

- Posts: 2988
- Joined: Sat Apr 24, 2004 9:10 pm
- Location: South Central Iowa, USA
Here is what my R61 has at the end of menu.lst:
But I am running a ubuntu derivative.
Code: Select all
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Thinkvantage Rescue & Reovery
root (hd0,0)
savedefault
makeactive
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows Vista Ultimate
root (hd0,1)
savedefault
makeactive
chainloader +1
T60 2623-D7U, 3 GB Ram.
Dual boot XP and Linux Mint.
Registered linux user #160145
Dual boot XP and Linux Mint.
Registered linux user #160145
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Ultranav not working. Help.
by Blender » Wed Jan 04, 2017 7:35 pm » in ThinkPad R, A, G and Z Series - 14 Replies
- 1830 Views
-
Last post by dr_st
Tue Jan 17, 2017 3:15 am
-
-
-
Invalid tar magic with tar command. Help.
by Blender » Fri Jan 06, 2017 1:35 am » in Linux Questions - 2 Replies
- 812 Views
-
Last post by jaspen-meyer
Mon Jan 09, 2017 2:06 am
-
-
-
Choosing between a W701 and a T601f. Help required.
by fourthree » Tue Jan 10, 2017 1:06 pm » in Thinkpad - General HARDWARE/SOFTWARE questions - 16 Replies
- 3553 Views
-
Last post by dr_st
Tue Mar 14, 2017 3:29 am
-
-
- 6 Replies
- 1758 Views
-
Last post by Whitieiii
Wed Mar 15, 2017 8:48 am
Who is online
Users browsing this forum: No registered users and 2 guests



