[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions

Colin Guthrie mageia at colin.guthr.ie
Sun Jul 22 11:39:12 CEST 2012


'Twas brillig, and Charles A Edwards at 22/07/12 10:20 did gyre and gimble:
> On Sun, 22 Jul 2012 09:59:27 +0100
> Colin Guthrie wrote:
> 
>>> Booting with
>>> rw rd.convertfs rd.break=pre-pivot
>>>
>>> Using "exit" on 1st shell
>>>
>>> (output given as follows)
>>>
>>> exit
>>> pre-pivot
>>>
>>> dracut warning: Break before switch_root
>>> dracut warning: Break before switch_root
>>>
>>> Dropping to debug shell.
>>>
>>> sh:0: can't access tty; job control off
>>> switch_root:/#
>>>
>>> (end output)
>>>
>>> I type exit and the system continues booting.  
>>
>>
>> So this looks really like the convertfs module is simply not included
>> in your initrd.
>>
>> Can you confirm that your grub entry is using the latest kernel and
>> that the initrd used is the right one?
> 
> I use lilo.
> 
> [root at SuperSize ~]# uname -r
> 3.4.6-tmb-server-1.mga3
> [root at SuperSize ~]# dracut -f -a convertfs
> I: *** Including module: dash ***
> I: *** Including module: i18n ***
> I: *** Including module: rpmversion ***
> I: *** Including module: convertfs ***
> I: *** Including module: plymouth ***
> I: *** Including module: kernel-modules ***
> I: *** Including module: resume ***
> I: *** Including module: rootfs-block ***
> I: *** Including module: terminfo ***
> I: *** Including module: udev-rules ***
> I: Skipping udev rule: 50-udev.rules
> I: Skipping udev rule: 95-late.rules
> I: Skipping udev rule: 50-firmware.rules
> I: *** Including module: usrmount ***
> I: *** Including module: base ***
> I: *** Including module: fs-lib ***
> I: *** Including module: shutdown ***
> I: Skipping program kexec as it cannot be found and is flagged to be
> optional I: *** Including modules done ***
> I: Wrote /boot/initrd-3.4.6-tmb-server-1.mga3.img:
> I: -rw-r--r-- 1 root root 7032269 Jul 22
> 05:02 /boot/initrd-3.4.6-tmb-server-1.mga3.img
> 
> [root at SuperSize ~]# lsinitrd | grep convertfs
> -rwxr-xr-x   1 root     root          304 Feb 24 09:38
> lib/dracut/hooks/pre-pivot/99do-convertfs.sh
> -rwxr-xr-x   1 root     root         8031 Jul 21 12:19 usr/bin/convertfs
> 
> 
> 
> reboot system
> 
> Same occurs
> 
> exit
> pre-pivot
> 
> dracut warning: Break before switch_root
> dracut warning: Break before switch_root
> 
> Dropping to debug shell.
> 
> sh:0: can't access tty; job control off
> switch_root:/#
>  
> 
> [root at SuperSize ~]# uname -r
> 3.4.6-tmb-server-1.mga3
> 
> [root at SuperSize ~]# lsinitrd | grep convertfs
> -rwxr-xr-x   1 root     root          304 Feb 24 09:38
> lib/dracut/hooks/pre-pivot/99do-convertfs.sh
> -rwxr-xr-x   1 root     root         8031 Jul 21 12:19 usr/bin/convertfs


That's weird.

When in the shell can you (triple) check that the path usr/bin/convertfs
is really there in the initrd (just type "ls usr/bin/convertfs" in the
first shell)

As you use lilo have you run whatever command you have to run to update
it before rebooting? I forget what it is - maybe just "lilo"?

Col


-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list