Skip to content

LVM on LUKS with GPT on an HP 2530p

So, this is a short story telling about the journey of an arch linux installation on an HP 2530p.
The mission was clear, <https://wiki.archlinux.org/index.php/GPT" title="arch linux gpt">GPT, LVM and LUKS. The problem was the BIOS in the HP 2530p.
To keep it short, don't trust the documents, simple install a hybrid gpt/mbr), or follow my howto.
The so called documented UEFI boot is only working with windows but not with other UEFI systems. If you simple install a GPT without a hybrid MBR, you won't get a working system disk.

Translate to de es fr it pt ja

Tool - Create Multiboot USB Stick - windows linux

Since the capacity of usb sticks are raising and raising, it would be a perfect deal to have "one usb stick for all live operation systems".
For that reason, the boys and girls from sardu have created a beautiful windows tool for you. It is so simple and quite powerful that you just need to download, use and donate to it!

pendrivelinux.com sarducd.it

Wait, you are already on the right os side with the cookies and also want to have a tool like that?
Try to use liveusb.

Translate to de es fr it pt ja

Grub 2 - re-/install, adjust, configure

Grub, the grand unified bootloader is out in its second version (for quiet a while) and a lot has changed. Today was the first day where i have to deal with the new version, so it is time to write down the knowledge i earned :-).

After upgrading from windows xp to windows 7, the microsoft os acts as child and replace the grub with its one boodloader. So at this point nothing changes from xp to litle seven ;-). My task was to restor the grub 2 into the mbr to regain access to my lovely linux. After reading some howto's, i tried it with by doing the lazy way.

  1. Start a linux live cd (or a live cd with an grub 2)
  2. fdisk -l (to see what partitions and disk are there and find your linux/root partition
  3. mount /dev/$linuxdisk$linuxpartition (e.g. sda2) /mnt
  4. chroot /mnt
  5. grub-install --root-directory=/mnt /dev/$linuxdisk

Nothing to explain left for this task. But what if you want to adjust the grub? There are two screws for twisting on. First the file /etc/default/grub contains a lot of general settings. Second, the files in /etc/grub.d/ representing your boot options. Just take a look into the scripts, the help ans answeres are in there.

And here are some links. GRUB 2 bootloader - Full tutorial grub on wikipedia.org archlinux.org/grub2 ubuntuusers.de/grub_2

Translate to de es fr it pt ja

windows - fix mbr without having a windows xp cd

So the problem is to restore the mbr without having a windows xp cd. It is also possible that you windows xp cd has a problem with your sata device ;-).

What you need to do?

  1. Download gparted: link
  2. Put gparted on a usb stick, cdrom, whatever you prefer
  3. Start the geparted and start "TestDisk"
Translate to de es fr it pt ja