Re: Mounting root according to fstab the first time (fstab in initrd)?

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



Am 20.01.2016 um 21:34 schrieb Garmine 42:
First I will try to exclude root= and rootflags= parameters from the cmdline and include the fstab via mkinitcpio and see if it finds the root. Do I want to mask remount-fs in this case?

That won't work. You'll have to create a hook for mkinitcpio that implements a custom mount_handler. In the install hook part, read the fstab data, write the necessary stuff to the image and add a runtime hook with add_runscript
In the runtime hook, you change the mount_handler

my_mount_handler() {
mount ...
}
mount_handler="my_mount_handler"



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux