> From: "Gerhard Gedigk" <[email protected]>
> Date: Tue, 5 Apr 2016 13:27:33 +0200
> Subject: Re: [blfs-support] [Ken Moffat] LFS 7.9
>
> > Gesendet: Dienstag, 05. April 2016 um 03:59 Uhr
> > Von: "Ken Moffat" <[email protected]>
> > An: "BLFS Support List" <[email protected]>
> > Betreff: Re: [blfs-support] LFS 7.9 kernel panic
> > On Tue, Apr 05, 2016 at 12:26:16AM +0200, Gerhard Gedigk wrote:
> > >
> > > My first hard disk always shows up as /dev/sda. My second hard disk shows 
> > > as
> > > /dev/sdb. The other disks arrive under changing devices.
> > >
> > Is your problematic 7.9 install on one of those two disks ? If it
> > is, try copying the whole grub entry for it, giving it a different
> > name in the menu so that you can identify which is which, and
> > changing the root= in the copy from sdaX to sdbX or vice-versa.
> > 
> No, it is a new device, the fifth at the controller.
>
>
> > Drives do move around as kernels change. Most people building LFS
> > only have one drive, so not a problem for them. This is also why
> > distros use UUIDs - but that needs the initrd stuff from BLFS and
> > personally I have not yet tried that.
> > 
> As far as I understand it you do not need initrd to use UUIDs.
> I need initrd to launch udev so early so I can use the symlinks
> in /etc/fstab . With init and 10udev it is too late.
>


Alarm bells - in-the-mix are initrd, earlier-than-usual(?) udev,
symlinks in fstab, .... . Keep it simple first?


Assume for now that your devices beyond sd{a,b} _are_ ~randomly
assigned device-names.


Then how are you going to specify the new-disk lfs79 ?


You posted earlier a grub.cfg that did not show any (obvious)
lfs79-related stuff: what disk + partition + os did that grub.cfg
come from?


Can you post:
--
* the grub.cfg that you have for the lfs79 .
* the partition-table of the lfs79 disk.
* the fstab that you're using for the lfs79 partitions.
--
(If necessary, since you currently can't boot lfs79, then boot lfs77
(or mint/whatever), temp-mount the relevant lfs79 partition(s),
and get the materials that way - usual stuff.)


Can you try doing:
==
* copy the lfs79 kernel+initrd to the lfs77 boot area.
* add a menu entry to the grub.cfg that you posted earlier, that
  refers to the lfs79 kernel+initrd in the lfs77 boot area; but for
  'root=', specify the relevant lfs79 uuid.
* post a copy of that new menu entry here, as a double-check.
* update your bootloader (presumably grub, from what you've posted).
==



akh





--
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to