Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 359794 Details for
Bug 486430
sys-fs/lvm2-2.02.100-r2 fails to read volume groups and does not create symlinks in /dev/mapper
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
initramfs init script
init (text/plain), 929 bytes, created by
Jory A. Pratt
on 2013-09-30 13:45:42 UTC
(
hide
)
Description:
initramfs init script
Filename:
MIME Type:
Creator:
Jory A. Pratt
Created:
2013-09-30 13:45:42 UTC
Size:
929 bytes
patch
obsolete
>#!/bin/busybox sh > ># Allow us to drop to a rescue shell if something goes wrong >rescue_shell() { > echo "Something went wrong. Dropping you to a shell." > busybox --install -s > exec /bin/sh >} > ># temporarily mount proc,sys and dev >mount -t proc none /proc >mount -t sysfs none /sys >mount -t devtmpfs none /dev > ># disable kernel messages from popping onto the screen >echo 0 > /proc/sys/kernel/printk > ># clear the screen >clear > ># We must unlock the partition if we are gonna continue to boot >cryptsetup -T 5 luksOpen /dev/sda3 system > ># Must ensure we can mount our true root partition which is on lvm >vgscan > /dev/null >vgchange -ay > /dev/null > ># Mount the root partition so we can execute switch_root >mount /dev/mapper/vg-root /newroot || rescue_shell > ># Cleanup ram useage >umount /proc /dev /sys > ># Boot the normal system finally >exec switch_root -c "/dev/console" /newroot /sbin/init || rescue_shell
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 486430
: 359794 |
359924