Re: Unstable, LVM and Grub2: error: you need to load the kernel first

2009-12-02 Thread Tom H
 at the moment 'grub-pc' is broken in sid. When you have a separate /boot
 partition, the package generates a wrong '/boot/grub/grub.cfg'. Look at
 the BTS for bug #558042. There is also the workaround for the problem.

 I ran across the same problem, but I am running mdraid RAID 1, which
 complicates matters, and root (/) is on an LVM2 volume.

 do you get grub? and where is /boot (I'm assuming it's on RAID but not
 lvm)?

 Based on what others have written, editting the grub entries from the
 grub command line should do the trick. Point grub at the right device
 and partitions and it should just work.

If you are getting to the grub cli, you need to insmod the raid/lvm
modules depending on whether you use raid/lvm for /boot before running
the root-linux-initrd-boot sequence.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Unstable, LVM and Grub2: error: you need to load the kernel first

2009-12-01 Thread Mark Allums



at the moment 'grub-pc' is broken in sid. When you have a separate /boot
partition, the package generates a wrong '/boot/grub/grub.cfg'. Look at
the BTS for bug #558042. There is also the workaround for the problem.

Hth Michael



I ran across the same problem, but I am running mdraid RAID 1, which 
complicates matters, and root (/) is on an LVM2 volume.


Any advice?

Mark Allums


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Unstable, LVM and Grub2: error: you need to load the kernel first

2009-12-01 Thread Andrew Sackville-West
On Tue, Dec 01, 2009 at 04:17:36PM -0600, Mark Allums wrote:
 
 at the moment 'grub-pc' is broken in sid. When you have a separate /boot
 partition, the package generates a wrong '/boot/grub/grub.cfg'. Look at
 the BTS for bug #558042. There is also the workaround for the problem.
 
 Hth Michael
 
 
 I ran across the same problem, but I am running mdraid RAID 1, which
 complicates matters, and root (/) is on an LVM2 volume.

do you get grub? and where is /boot (I'm assuming it's on RAID but not
lvm)? 

Based on what others have written, editting the grub entries from the
grub command line should do the trick. Point grub at the right device
and partitions and it should just work. But I'm not facing this
problem, so ymmv.

A


signature.asc
Description: Digital signature


Re: Unstable, LVM and Grub2: error: you need to load the kernel first

2009-11-30 Thread Michael Wagner
* Johannes Graumann johannes_graum...@web.de 30.11.2009
 
 A recent update of both my home machines running sid pulled in an update of 
 grub2. Now both machines are stuck with the grub menu showing up fine, but 
 no matter which kernel I choose, I always end up with this error:
 
 error: you need to load the kernel first
 
 Does anyone here have an idea what might be going wrong and how to fix it? 

Hello Johannes,

at the moment 'grub-pc' is broken in sid. When you have a separate /boot 
partition, the package generates a wrong '/boot/grub/grub.cfg'. Look at 
the BTS for bug #558042. There is also the workaround for the problem.

Hth Michael

-- 
Honey, PLEASE don't pick up the p...@#*$^(#@$^%(*NO CARRIER


signature.asc
Description: Digital signature


Re: Unstable, LVM and Grub2: error: you need to load the kernel first

2009-11-30 Thread Tom H
Johannes Graumann johannes_graum...@web.de wrote:
 A recent update of both my home machines running sid pulled in an update of
 grub2. Now both machines are stuck with the grub menu showing up fine, but
 no matter which kernel I choose, I always end up with this error:
 error: you need to load the kernel first
 Does anyone here have an idea what might be going wrong and how to fix it?

Michael Wagner michaeldeb...@web.de wrote:
 at the moment 'grub-pc' is broken in sid. When you have a separate /boot
 partition, the package generates a wrong '/boot/grub/grub.cfg'. Look at
 the BTS for bug #558042. There is also the workaround for the problem.

grub-pc is broken when you have a separate /boot partition for any
distribution see for example:

https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/442631

Both the set root=... and the search ... lines point to / rather
than to /boot.

You can create a correct menuentry in 40_custom and re-run grub-mkconfig.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Unstable, LVM and Grub2: error: you need to load the kernel first

2009-11-30 Thread Johannes Graumann
Thanks guys.

After setting the boot disk to hd(0,0) (from hd(0,1)) and removing the 
/boot suffix by editing the grub entry from the boot menu I got finally in 
and aptitude update then pulled in a working version of grub-pc.

Joh

Michael Wagner wrote:

 * Johannes Graumann johannes_graum...@web.de 30.11.2009
  
 A recent update of both my home machines running sid pulled in an update
 of grub2. Now both machines are stuck with the grub menu showing up fine,
 but no matter which kernel I choose, I always end up with this error:
 
 error: you need to load the kernel first
 
 Does anyone here have an idea what might be going wrong and how to fix
 it?
 
 Hello Johannes,
 
 at the moment 'grub-pc' is broken in sid. When you have a separate /boot
 partition, the package generates a wrong '/boot/grub/grub.cfg'. Look at
 the BTS for bug #558042. There is also the workaround for the problem.
 
 Hth Michael
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Unstable, LVM and Grub2: error: you need to load the kernel first

2009-11-29 Thread Johannes Graumann
Hello,

A recent update of both my home machines running sid pulled in an update of 
grub2. Now both machines are stuck with the grub menu showing up fine, but 
no matter which kernel I choose, I always end up with this error:

error: you need to load the kernel first

Does anyone here have an idea what might be going wrong and how to fix it? 

Thanks for any hints, 

Sincerely, Joh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org