FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 08-19-2011, 09:24 AM
Christian Jaeger
Default UUID updates for dmcrypt/luks


I've used the Debian installer (Sarge) for installing a system onto an
SSD, using this layout:

/dev/sda1 /boot
/dev/sda5 luks, -> sda5_crypt with "/"
/dev/sda6 /usr

After the installation finished, I realized that I should have aligned
the partition boundaries. So I booted into GRML, backed up the file
systems with tar, created a new partition table + filesystems
manually, mounted, extracted the tars. Mounted in correct nesting plus
/proc /sys /dev and chroot'ed inside, "grub-setup -d /boot/grub

Now, the difficult part is figuring out all the locations where the
system is using UUIDs (d'oh!), and maybe other information that has
changed by me recreating the partition table.

I've updated /etc/fstab and /etc/crypttab and ran update-grub from
within the chroot (while running GRML). Now grub doesn't complain/warn
anymore about not finding devices, but after the kernel loads, the
boot process still says:

[ .... ] ... BAR 6: no parent found for of device [0xfffe000-0xffffffff]
Loading, please wait...
cryptsetup: lvm is not available
cryptsetup: evms_activate is not available

then it hangs indefinitely (minutes, giving up), but hitting ctl-c is
giving me the initrd shell. I can "cryptsetup luksOpen /dev/sda5
sda5_crypt" and ctl-d to continue the boot (actually it then tries to
open sda5 again, failing, then continues). But I don't see why it
hangs above, and whether the messages before the hang are relevant.

Any ideas?


To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAEjYwfVCRHfYaX-Rx0Z6jcSP=yobWbiCMa1xjRJHZV3xAvSN6Q@mail.gmail.com ">http://lists.debian.org/CAEjYwfVCRHfYaX-Rx0Z6jcSP=yobWbiCMa1xjRJHZV3xAvSN6Q@mail.gmail.com

Thread Tools

All times are GMT. The time now is 01:08 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org