Studex, bbqinstaller and encryption

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
User avatar
MrPink
applies for custom title
Posts: 49
Joined: Tue Jan 22, 2013 10:38 pm

Studex, bbqinstaller and encryption

Unread post by MrPink » Sun Jun 23, 2013 5:05 pm

I have tried to install studex on an encrypted ext4 partition using bbqinstaller with no luck. The installation seems to go fine, but grub is not installed on /dev/sda as it should.

Code: Select all

root@grill:/home/bbq# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x43ece64b

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048   303421439   151709696   83  Linux
/dev/sda2       303421440   303831039      204800   83  Linux
/dev/sda3       303831040   312580095     4374528   82  Linux swap / Solaris

Disk /dev/sdb: 16.4 GB, 16441481728 bytes
255 heads, 63 sectors/track, 1998 cylinders, total 32112269 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x11c8ce7d

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048    32110591    16054272    c  W95 FAT32 (LBA)
The system is installed on /dev/sda1 and /dev/sda2 is designated for /boot. When I boot the machine, I get a message from my BIOS that there is no bootable system available.

I have tried booting the live iso and installing grub from there, but it gives me this message:

Code: Select all

bbq@grill:~$ sudo grub-install /dev/sda
[sudo] password for bbq: 
Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Studex, bbqinstaller and encryption

Unread post by machinebacon » Sun Jun 23, 2013 5:29 pm

..gnutella..

User avatar
MrPink
applies for custom title
Posts: 49
Joined: Tue Jan 22, 2013 10:38 pm

Re: Studex, bbqinstaller and encryption

Unread post by MrPink » Fri Jul 05, 2013 9:37 pm

Sorry for the late response. I am on vacation in Rome so there may be some misspellings as I am writing from my phone.

My question was asked at a certain stage in my attempt to install bbq on an encrypted disk. I have tried both encrypted lvm and the encryption feature in bbqinstaller both with grub and /boot on a separate usb stick and on my hdd. All my attempts have failed. I am fairly certain it has something to do with how initramfs, /etc/fstab and /etc/crypttab are set up.
I am now able to place grub and /boot whereever I want (usb or hdd) but grub fails to recognize my boot partition.

After a long day of repeated reinstalls i installed it without encryption wih he gui installer just to get a working pc. It would be nice to make it work though. If it doesnt, I will probably do an encrypted minimal sid(uction) install and add bbq niceness myself.


I also have an idea for a feature in bbqinstaller: that the user, not the installer, formats the partitions. It will allow for some more exotic choices of file systems than the ones on the list.

Thanks for the help. I will give it another try when I get home.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Studex, bbqinstaller and encryption

Unread post by machinebacon » Fri Jul 05, 2013 10:46 pm

Thanks Mr. Pink,

I have noted your observations and will look into it. I don't use any encrption, so I've gotta get a small HD and experiment with it some day.
Your feature request is actually provided right at the beginning of the bbqinstaller, it asks if you want to run cfdisk or parted to set up your drives or if you have them already set up. Or did I misunderstand something?

By all means, have a nice stay in Rome! And thanks again for your post :)
..gnutella..

Post Reply