Age | Commit message (Collapse) | Author |
|
giant disk arrays, clusters will need to provide their own rootdelay=
boot arg, they should have capable admins.
3 minutes wait is just too long for regular users.
sync from ubuntu 0.96.1ubuntu1.
Acked-by: Michael Prokop <mika@debian.org>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
MODULES=dep fails when / is ubifs. This patch adds support for
something like root=ubi0:rootfs when ubi is modular.
Quoting Martin:
It essentially does three things:
- adds the correct modules to the ramdisk (for MODULES=dep and MODULES=most)
- reads ubi.mtd= from the command line
- loads ubi with the ubi.mtd info and ignores the "Waiting for root" check
I've successfully tested this with a kernel with modular ubi and with
the following boot variants:
console=ttyS0,115200 ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs
console=ttyS0,115200 ubi.mtd=2 root=ubi0_0 rootfstype=ubifs
With
console=ttyS0,115200 ubi.mtd=2 root=/dev/ubi0_0 rootfstype=ubifs
I get an error that it cannot mount root but I suspect this is an
ubifs error and has nothing to do with i-t (since at this point I can
manually mount it with -t ubifs ubi0_0 whereas the /dev/ variant
doesn't work).
Tested with MODULES=dep and MODULES=most as well as with a kernel that
has ubifs built in.
Closes: #582858
Thanks: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Reviewed-by: Michael Prokop <mika@debian.org>
|
|
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
allows wider usage.
(closes: #487409)
Reported-by: Christoph Anton Mitterer <calestyo@scientia.net>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
49337bd looks bogus. It adds the test "[
command ... ]" but I think that should be just "command ..."
Reporte-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
if blkid is on initramfs use it.
Thanks to Joey Hess <joeyh@debian.org> for calling syntax.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
Since fstype does not support btrfs (#548047),
and since udev 150, vol_id no longer exists,
get_fstype sets FSTYPE to "unknown", and
then the root filesystem is mounted using
"mount -t unknown /dev/hda2 /root".
Of course, that fails, and with a really unhelpful error message
("mount: device doesnot exist")
Why not just skip the -t parameter if FSTYPE=unknown?
Mounting the root fs was going to fail, so letting
mount autodetect the fs type can't be worse.
Attached patch does that and got my root on btrfs working.
Workaround: boot with rootfstype=btrfs
Signed-off-by: maximilian attems <maks@debian.org>
|
|
The attached patch is needed for booting with root=mtd0.
Basically, the init scripts assume the root device should have a special
device file somewhere, and if not will wait for it to appear. This patch
changes it so that it only waits for a device file to appear if $ROOT starts
with "/dev". In the case of things like ROOT=LABEL=foo, the init scripts
will translate that to a device. With ROOT=mtd0, the init scripts will not
check for a device, and will successfully mount the root filesystem.
Signed-off-by: Andres Salomon <dilinger@debian.org>
|
|
Debian users were pasting that without getting the real trouble,
thanks for the better rephrasing.
|
|
udev may be busy creating links for the root device by the time
mountroot is called. udevsettle makes sure these are processed. I thus
call udevsettle with a timeout of 10 seconds after the $BOOT-top
scripts have run and before the ROOTDELAY hack kicks in.
I thought about doing this with a local-top script instead, but there is
no way to ensure that it'll run last; cryptsetup uses a hack to make
sure it runs last, if we also use the same hack, there'll be
a dependency loop.
Signed-off-by: martin f. krafft <madduck@debian.org>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
log_begin_msg already puts ... at the end of the stuff it prints, so no
need to have it in there explicitly.
Signed-off-by: martin f. krafft <madduck@debian.org>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
|
|
|
|
|
|
maybe this will reduce ration of bug reports,
as further device renaming is in the pipes. :)
|
|
compatible with etch released klibc
|
|
some device node will exist before they can be safely used
|
|
|
|
|
|
* kick mdrun script
* update control for lenny + ubuntu
* add _all_ ide, block and drivers
* use MODPROBE_OPTIONS and kill any modprobed arg
* small doc + whitespace fixes
|
|
- fix preinst sed command
- bunch of minor fixes
|
|
- cleanup stupid whitespace all over the place
|
|
- rename mdadm.conf in mdrun.conf
- retry nfsmount
- harden init
- fix lvm boot script prereqs
|
|
- added rootdelay and rootfstype bootargs
- document this changes
- initrd-tools backward compatible mdadm assembe and then run mdrun
- update-initramfs really checkout use_bootloader from /etc/kernel-img.conf
- tighter klibc deps
|
|
- scripts/functions: fix debug boot param
- update-initramfs: checkout /etc/kernel-img.conf if lilo and grub is installed
- rename mdraid to mdrun, readd mdrun as it seems to work much better
with sarge systems
- add an help message for rescue shell
- better package desc
|
|
- changelog
- typos + whitespace + comments + quoting
- vga16fb
|
|
- cleanup of activate_vg() in lvm boot script
- use less of busybox utilities
- conf.d for BUSYBOX=y usage for the packages
- don't poke on conffile for RESUME
- use printf instead of expr (ooh ash and dash are *fun*)
- fix update-initramfs to use current_version when no other
version exists around
|
|
- bug script
- cryptoroot support
- change exported variables
- nfsopts, rootflags support
- warn lilo+grub install
- doc fixes
|
|
add raid10 module
move the loop waiting code to mountroot()
leaves only ide-generic from scripts/local-top/udev_helper
md pre-requesites the udev one
|
|
|
|
modprobe -Qb interface, keep the change for next time. :(
|
|
and cp all /etc/modprobe.d :)
|
|
|
|
|
|
"This suspense is terrible. I hope it will last."
- Oscar Wilde
* scripts/local: Quote ${ROOT} so that an empty value causes us
to drop to a shell.
Thanks to Matt Zimmerman for this fix!
- hook-functions (auto_add_modules): Add atiixp and opti621 to
the IDE set.
- hook-functions (dep_add_modules): Detect i2o and add i2o_block
(auto_add_modules): Include i2o_block.
- scripts/functions (i2o_boot_events): New function
(load_modules): Call it. (Ubuntu# 13806)
Thanks to Tollef Fog Heen for the i2o patch!
- debian/control: Depend on udev.
Thanks to Alexander Butenko for troubleshooting this with me.
- init: Move the /dev directory to the root filesystem.
Handle all the udev bind mounts as needed.
Make sure input and output is associated with dev/console.
- scripts/functions (parse_numeric): Exit if we're refering to a path.
Otherwise override root setting to be /dev/root.
- init: Call parse_numeric when setting the root variable.
- scripts/local-top/lvm: When using a numeric root, call vgchange -ay
Don't attempt to start LVM on regular partitions.
(Ubuntu #13365, #13778, and some of #13399)
- scripts/local-top/lvm: Cope with -'s in the Volume Group and
logical volume names. (Ubuntu #13387)
Thanks to Stephen Shirley for the patch!
-- Jeff Bailey <jbailey@ubuntu.com> Thu, 25 Aug 2005 11:48:15 -0400
initramfs-tools (0.22) breezy; urgency=low
* Fix argument handling in force_load hook-function
* Add "sleep 3" to scripts/nfs as a nasty hack around bug #12942
-- Matt Zimmerman <mdz@ubuntu.com> Fri, 19 Aug 2005 23:50:16 -0700
|
|
three people hacking now, and details would probably be useful.
* debian/TODO: Update
* debian/dirs: Sort and add usr/share/initramfs-tools/hooks
* debian/initramfs-tools.examples: Add docs/example_hook and
docs/example_hook_cpiogz
* debian/initramfs-tools.install: Pretty Print.
* debian/rules: Ensure that mkinitramfs is executable
* docs/example_script: New file
* init: Add concept of 'quiet', be verbose if not specified
* mkinitramfs: Do not load script functions until needed
Clear up comments / documentation
Use DESTDIR instead of TMPDIR
Add ability to link in extra hunks into the cpio file
Cosmetic cleanups
* scripts/functions: Add lsb stype log_FOO_msg functions
* scripts/local: Add logging
* scripts/nfs: Add logging
|
|
Based on a patch from maximilian attems, thanks!
* Handle module arguments in /etc/mkinitramfs/modules
* Do hookscripts at generation time. Drop things into
/usr/share/initramfs-tools/hooks or /etc/mkinitramfs/hooks
* Make sure local-bottom and nfs-bottom get created
Thanks to Karl Hegbloom for these three patches!
* Prune stray echo from call_scripts
* Load raid1 for now so that md setups will work.
* Detect ide modules load
Thanks to Jeff Waugh for initial testing of this!
|
|
|
|
readonly/readwrite parameters for nfs. Release initramfs 0.8
|
|
directories, always use busybox now, sigh.
|
|
|
|
|