[Mageia-dev] unable to create kernel and grub files when using unsquashfs (before moving to /usr it used to install ok)
Pedro Gs
simplew8 at gmail.com
Sun Jul 29 20:45:40 CEST 2012
2012/7/29 Pedro Gs <simplew8 at gmail.com>:
> Hi,
>
> Problems installing grub files and kernel files under /boot since i
> have followed the Coling instructions about moving to /usr, but i dont
> know if these problems are related to this or due to other changes in
> systemd.
>
> Since linuxmint doesnt have an installed to install the distro in an
> encrypted LVM i have followed this howto
> http://forums.linuxmint.com/viewtopic.php?f=141&t=71159 and i have
> put linuxmint in an encrypted LVM and so far all went fine.
>
> Some days ago i decided to replace Linuxmint by Ubuntu and i did
> followed the same procedure and again all was running fine.
>
> However today i have decided to replace Ubuntu 12.04 with Ubuntu
> 12.10 (quantal) and i have erased existent Ubuntu fs and i followed
> the same procedure, but after running:
>
> ubuntu]# unsquashfs -f -d /mnt/lm/ casper/filesystem.squashfs
> Parallel unsquashfs: Using 4 processors
> 147918 inodes (153245 blocks) to write
>
> [===================/
> ] 27438/153245 17% cd
> /mnt/lm/boot
> [===========================================================================================================|]
> 153245/153245 100%
> created 94187 files
> created 14237 directories
> created 53613 symlinks
> created 82 devices
> created 0 fifos
>
>
> it did NOT install vmlinux ubuntu kernel file in /boot like it used to
> happen so far, and it also did not installed the grub files that used
> to install and isntead now i have this:
>
> boot]# ls -ls *
> 824 -rw-r--r-- 1 root root 843468 Jul 23 21:15 abi-3.5.0-6-generic
> 148 -rw-r--r-- 1 root root 147800 Jul 23 21:15 config-3.5.0-6-generic
> 176 -rw-r--r-- 1 root root 176764 Nov 27 2011 memtest86+.bin
> 176 -rw-r--r-- 1 root root 178944 Nov 27 2011 memtest86+_multiboot.bin
> 2820 -rw------- 1 root root 2886111 Jul 23 21:15 System.map-3.5.0-6-generic
>
> grub:
> total 4
> 4 -rw-r--r-- 1 root root 699 Jul 24 13:04 gfxblacklist.txt
>
> as we can see theres no grub files inside /boot/grub and also theres
> no initrd and vmlinux files to allow to boot into Ubuntu.
>
> I even tested by installing again the Ubuntu release that was
> successfully installed (before following Coling instructions about
> moving to /usr) and now it happened exactly the same thing, no
> vmlinux, initrc and no grub files.
>
>
> Could anyone please clarify, or Colin ;) why now when running
> "unsquashfs -f -d /mnt/lm/ casper/filesystem.squashfs" it doesnt
> install kernel and grub files needed to boot the distro?
>
>
> PS: i need to use this procedure even with Ubuntu since i want to have
> in an encrypted LVM with cypher aes-xts* because Ubuntu alternate CD
> installer uses an older cypher.
> for linuxmint i really have no other option that use this
> since it doesnt have an installer that allows to install the distro in
> an encrypted partition (it only allow to encrypt home folder)
>
> TIA
>
> regards,
> Pedro
Please ignore this thread, this is ubuntu specific and i didnt follow
all needed steps
More information about the Mageia-dev
mailing list