RE: Q: mount initramfs as the final root fs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dave,

I am not familiar with dracut internals. Two questions:

1. Will rd.break=cmdline cause the kernel to mount initramfs before dropping into the shell?  I tried before "rdinit=/bin/sh". This forced the kernel to drop into a simple dash shell before /init was even started so not much useful. 

2. Just saw you committed another patch in fstab-sys. You mentioned about mounting initramfs with --mount Dracut option. Is that the solution for the problem? 

Thanks.

David

>-----Original Message-----
>From: initramfs-owner@xxxxxxxxxxxxxxx [mailto:initramfs-
>owner@xxxxxxxxxxxxxxx] On Behalf Of Dave Young
>Sent: Wednesday, January 11, 2012 5:58 PM
>To: David Li
>Cc: initramfs@xxxxxxxxxxxxxxx
>Subject: Re: Q: mount initramfs as the final root fs
>
>On 01/12/2012 08:54 AM, David Li wrote:
>
>> Hi Everyone,
>>
>> I need to let the kernel to mount the initramfs (created by dracut) as
>> the final root filesystem. No disk and no NFS either!
>>
>> I tried kernel option root=/dev/ram0 (the initrd way to mount init ram
>> disk) but dracut didn't recognize this option. What should I use to
>> accomplish this?
>
>
>initramfs use root=xxx for switch_root to real rootfs. I also want this feature
>but currently I can only use such as "rdbreak=cmdline" in kernel cmdline to
>drop into shell
>
>>
>> Thanks.
>>
>> David
>> --
>> To unsubscribe from this list: send the line "unsubscribe initramfs"
>> in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo
>> info at  http://vger.kernel.org/majordomo-info.html
>
>
>
>--
>Thanks
>Dave
>--
>To unsubscribe from this list: send the line "unsubscribe initramfs" in the body
>of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at
>http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux