Reinstalling GRUB - Can't boot Sabayon LVM [Solved]

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Reinstalling GRUB - Can't boot Sabayon LVM [Solved]

Postby Mithra » Wed Sep 12, 2012 10:19

Hi all. I recently reinstalled my windows which obviously obliterated GRUB, and I've been having more problems than usual getting it back. I've finally managed to get the actual GRUB boot screen however it doesn't find my Sabayon partition (which is stored on an LVM).

Going into the GRUB prompt I have been following:
http://tuxers.com/main/instigating-a-manual-boot-from-the-grub-prompt/

and this works fine ( I call " linux /kernel*" rather than "linux /linuz*" though ) until it boots, at which point it brings up the error that the path I have used to the root is invalid (can't remember the exact code but can check if necessary).

The path I have been using is /dev/vg_sabayon/lv_root. My vg_sabayon has lv_root, lv_home and lv_swap.

However when I run "ls" GRUB also gives me, along with the standard (hdaX,X), the options (vg_sabayon-lv_root), (vg_sabayon-lv_home) and (vg_sabayon-lv_swap). Should I pass one of these as root instead? Or is there some other trick I'm missing?

Any help very very much appreciated, thanks!
Last edited by Mithra on Thu Sep 13, 2012 22:37, edited 1 time in total.
Mithra
Baby Hen
 
Posts: 3
Joined: Wed Sep 12, 2012 10:04

Re: Reinstalling GRUB - Can't boot Sabayon LVM

Postby lxnay » Wed Sep 12, 2012 13:39

default Sabayon partition layout puts the /boot partition outside LVM.
Also, "dolvm" boot argument is mandatory when booting Sabayon systems in where the root filesystem is behind LVM.
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3415
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Reinstalling GRUB - Can't boot Sabayon LVM

Postby Mithra » Wed Sep 12, 2012 13:44

lxnay wrote:default Sabayon partition layout puts the /boot partition outside LVM.
Also, "dolvm" boot argument is mandatory when booting Sabayon systems in where the root filesystem is behind LVM.


Aha, thanks! Would grub be able to read the /boot partition? LVM is on sda5 and sda4 is I believe labelled as "/boot" but grub says it can't read it?

Edit: Sorry to be thick, but could anyone give me some advice on exactly how I should alter the method in the link to work for Sabayon? Help would be brilliant thanks!
Mithra
Baby Hen
 
Posts: 3
Joined: Wed Sep 12, 2012 10:04

Re: Reinstalling GRUB - Can't boot Sabayon LVM

Postby grimly64 » Thu Sep 13, 2012 20:50

What version of Windows? If it Windows 7, and your Windows and Sabayon are on the same hard drive, then try using EasyBCD.

http://wiki.pcbsd.org/index.php/Dual_Booting

Scroll down to EasyBCD to see how to use it.

Sorry if this didn't help.
User avatar
grimly64
Young Hen
 
Posts: 22
Joined: Sun Apr 17, 2011 2:38

Re: Reinstalling GRUB - Can't boot Sabayon LVM

Postby Mithra » Thu Sep 13, 2012 22:36

Sorted, thanks so much!
Mithra
Baby Hen
 
Posts: 3
Joined: Wed Sep 12, 2012 10:04


Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest