Welcome to our peer-to-peer forums, where owners help owners. Need help now? Visit our eSupport here.

English Community

Linux Operating SystemsOther Linux Discussions
All Forum Topics
Options

84 Posts

08-30-2008

Sweden

159 Signins

979 Page Views

  • Posts: 84
  • Registered: ‎08-30-2008
  • Location: Sweden
  • Views: 979
  • Message 1 of 4

Opensuse 11.1: how to get my thinkpad recovery partition showed up in GRUB

2009-02-10, 20:18 PM

Hi,

My laptop is Thinpad X61s.
After Opensuse 11.1 installation, my recovery partition's gone from GRUB. This never happens in Ubuntu.

fdisk -l command shows like this:

  Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         645     5178368   27  Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2             645       16191   124869037+   7  HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3   *       16192       19457    26233200    5  Extended
Partition 3 does not end on cylinder boundary.
/dev/sda5           16192       16224      257008+  82  Linux swap / Solaris
/dev/sda6           16224       17529    10485688+  83  Linux
/dev/sda7           17529       19457    15490408+  83  Linux
 

Does anyone know how to make it show up in Grub again?

Thanks!

Reply
Options

3 Posts

02-11-2009

Uruguay

4 Signins

42 Page Views

  • Posts: 3
  • Registered: ‎02-11-2009
  • Location: Uruguay
  • Views: 42
  • Message 2 of 4

Re: Opensuse 11.1: how to get my thinkpad recovery partition showed up in GRUB

2009-02-11, 15:43 PM

You have to add an entry for the service partition in file /boot/grub/menu.lst:

 

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title        Rescue & Recovery
root        (hd0,1)
savedefault
makeactive
chainloader    +1

 

For your reference, my fdisk -l returns the following:

 

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xfce09344

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        3824    30716248+   7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2   *        3825        4529     5662912+   c  W95 FAT32 (LBA)
Partition 2 does not end on cylinder boundary.
/dev/sda3            4530        9729    41769000    5  Extended
Partition 3 does not end on cylinder boundary.
/dev/sda5            4530        6450    15430401   83  Linux
/dev/sda6            6451        9538    24804328+  83  Linux
/dev/sda7            9539        9729     1534176   82  Linux swap / Solaris

Reply
Options

84 Posts

08-30-2008

Sweden

159 Signins

979 Page Views

  • Posts: 84
  • Registered: ‎08-30-2008
  • Location: Sweden
  • Views: 979
  • Message 3 of 4

Re: Opensuse 11.1: how to get my thinkpad recovery partition showed up in GRUB

2009-02-14, 11:15 AM

Hi,

 

Thanks for your reply.

But now I go to a bigger problem. I added Rescue & Recovery in GRUB, and tried to start in. It didn't go to Rescue and Recovery but Windows. I restarted Windows and I lost Grub!!! Grub doesn't show up again. Everytime, I hit power button, Windows (Vista) starts without any prompting.

Please help me get Grub back!!!!

 

Thanks!

Reply
Options

20 Posts

02-27-2009

Guadalajara, Jalisco, México

14 Signins

147 Page Views

  • Posts: 20
  • Registered: ‎02-27-2009
  • Location: Guadalajara, Jalisco, México
  • Views: 147
  • Message 4 of 4

Re: Opensuse 11.1: how to get my thinkpad recovery partition showed up in GRUB

2009-03-01, 17:49 PM

That just means that good old Windoze ate your MBR, which isn't a huge problem. It does not mean that you have to reinstall, unless you really want to.

 

You can boot on your original distro disk and go to the rescue section if it has one. From there you should encouncter an option to reload the boot loader in the MBR which should get you back to where you were before... or if no rescue section, go all the way to, but NOT past the partitioning part of the install where you can then hit <Ctrl><Alt><F2> to get to a root command prompt.

 

Once there  you can mount theGNU/Linux partition(s) manually with mount -t auto /dev/your_device_name /mnt

 

Once the partition(s) is/are mounted you can chroot /mnt /bin/bash to make your mounted partitions the new root of the system.

 

Then source your root environment  . /root/.bashrc

 

Then register your libs    ldxonfig -v

 

The proceed in reinstalling your grub or lilo

 

afterwards unmount your partions manually before rebooting ot the changes you made may not be written to disk.

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete

X

No, I don’t want to share ideas Yes, I agree to these terms