slgtheindividual; I am back.
Now a bit of uncertaintly do exist:
Here is my 13.10 "udev" file:
Code:
sysop@1304mini:~$ cat -n /mnt/backup/udev-1310
1 #!/bin/sh -e
2
3 PREREQS=""
4
5 prereqs() { echo "$PREREQS"; }
6
7 case "$1" in
8 prereqs)
9 prereqs
10 exit 0
11 ;;
12 esac
13
14 # we cannot properly synthesize LVM LV change events with udevadm trigger, so
15 # if we use LVM, we need to let it finish; otherwise we get missing LV symlinks
16 # (LP #1185394)
17 if [ -x /sbin/vgchange ]; then
18 udevadm settle --timeout=121 || true
19 fi
20
21 # Stop udevd, we'll miss a few events while we run init, but we catch up
22 udevadm control --timeout=121 --exit || \
23 echo "udev exit failed -- rc=$?"
24
25 # move the /dev tmpfs to the rootfs
26 mount -n -o move /dev ${rootmnt}/dev
27
28 # create a temporary symlink to the final /dev for other initramfs scripts
29 rm -rf /dev
30 ln -s ${rootmnt}${udev_root} /dev
31
sysop@1304mini:~$
And too confuse matters more: this is 12.04's ;
Code:
sysop@1304mini:~$ cat -n /mnt/backup/udev-1204
1 #!/bin/sh -e
2 # initramfs init-bottom script for udev
3
4 PREREQ=""
5
6 # Output pre-requisites
7 prereqs()
8 {
9 echo "$PREREQ"
10 }
11
12 case "$1" in
13 prereqs)
14 prereqs
15 exit 0
16 ;;
17 esac
18
19
20 # Stop udevd, we'll miss a few events while we run init, but we catch up
21 udevadm control --timeout=121 --exit || \
22 echo "udev exit failed -- rc=$?"
23
24 # Move /dev to the real filesystem
25 mount -n -o move /dev ${rootmnt}/dev
sysop@1304mini:~$
-------------
Let's do this .. pending advisement from those of greater knowledge:
make a back up of the current "udev" file:
Code:
sudo cp /usr/share/initramfs-tools/scripts/init-bottom/udev /usr/share/initramfs-tools/scripts/init-bottom/udev-old
Now let's edit the file;
make line 21 and 22 like so:
Code:
rm -rf /dev
ln -s ${rootmnt}${udev_root} /dev
in the favorite text editor "gedit"; in accord with what my 13.10 install has.
Code:
gksudo gedit /usr/share/initramfs-tools/scripts/init-bottom/udev
save the file, exit back to terminal, reboot and see what happends.
OK, all looking good, now let's see what the package manager says:
Code:
sudo apt-get update
sudo apt-get upgrade
AND post back IF there are errors in the package management system. Still looking good ?
Once more (RE-)Boot, and tell me all is "finer than a frogs hair" !
Bookmarks