» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with boot + Debian

How to generate bootable USB keys with simple-cdd

simple-cdd is a lovely piece of software that builds a custom D-I image with the package selection and preseeding of your choice.

User:daveg: del.icio.us/daveg

grml.org - Linux Live-CD for sysadmins and texttools-users

grml is a bootable CD (Live-CD) originally based on Knoppix and nowadays based on Debian. grml includes a collection of GNU/Linux software especially for users of texttools and system administrators. grml provides automatic hardware detection. You can use

User:daveg: del.icio.us/daveg

grml.org - Linux Live-CD for sysadmins and texttools-users

grml is a bootable CD (Live-CD) originally based on Knoppix and nowadays based on Debian. grml includes a collection of GNU/Linux software especially for users of texttools and system administrators. grml provides automatic hardware detection. You can use

knoppix: del.icio.us/tag/knoppix

Pain of the LVM and Fix

Problem domain:

I have started to use LVM(2) and converted my system on lvm2 devices. I have noticed that I need to use initrd in order to boot up because all of my partitions were using lvm except /boot. I had 2 versions of debian-netsint on CD. I could boot up with them and with some debian kernel (2.6.8-2)installed from deb, but not the kernel I have complied (2.6.20). I got a kernel panic: missing root device and init: dev/console was missing.

Path to solve:

I realized that I have to try to use udev. I tried to create my initrd with mkinitrd. It was quite flexible with transfering files to my initrd, but it turns to be a dead end.

I have realized that one of the cause was devfs have been removed from the kernel around version 2.6.13-17. Thanks Linus it was a great idea to drop it this point from the 2.6 tree. I have thought that the stable tree is not a playground.

I have switched to mkinitramfs. It looks a bit complicated for the first look. It took some time to hook on. My first advice is use the break option, so it will stop after init-premount level and execute a shell.

Needed things to boot from an LVM root:

  1. Having required kernel features loaded from modules.
  2. Having those disk devices created holding the lvm volumes to boot on
  3. Having and running vgchange -ay

My way:

/etc/initramfs-tools/initramfs.conf:

MODULES=list

BOOT=local

This is my hook script:

/etc/initramfs-tools/hooks/lvm:

#!/bin/sh -e

PREREQS=”"

prereqs() { echo “$PREREQS”; }

case “$1″ in
prereqs)
prereqs
exit 0
;;
esac

. /usr/share/initramfs-tools/hook-functions

copy_exec /lib/lvm-default/lvm /sbin/

/etc/initramfs-tools/scripts/init-premount/my_lvm:

case $1 in
# get pre-requisites
prereqs)
prereqs
exit 0
;;
esac

# Do the work here.

mkdir /dev/mapper
/bin/mknod /dev/hda1 b 3 1
/bin/mknod /dev/hda2 b 3 2
/sbin/lvm vgchange -ay

# Handle an error:
Well, my hook script transfers the actual running lvm to initrd and the script: my_lvm makes the rest of the work.

Have fun! I hope I could save some headaches with this cookbook.

Tags: , , , , , ,

Debian: Debian Admin Step By Step Tutorials and articles with screenshots

Howto install a Debian GNU/Linux system onto a USB flash thumbdrive with the root partition encrypted (using Yaird & DM-Crypt) | Feraga | Creating a privacy optimized GNU/Linux installation for USB Flash drives and other removable media.

This howto will cover the installation of a base Debian GNU/Linux system onto a USB flash thumbdrive with the root partition encrypted. It includes support for Cryptsetup with LUKS, Yaird and Udev.

opensource: del.icio.us tag/opensource

Manage Runlevels,Startup scripts Using Boot Up Manager(BUM) GUI

Boot-Up Manager is a Perl-Gtk2 application to handle runlevels configuration of any debian derivative system. With this program the user will easily start and stop boot-up scripts, without the necessity to handle thru complex links and permissions. Boot-Up Manager has been developed and tested on Ubuntu, but as it only relies on Perl-Gtk2 libraries, it can [...]

Debian: Debian Admin Step By Step Tutorials and articles with screenshots

The Lniux Boot Process Explained

The beginning of the boot process varies depending on the hardware platform being used. However, once the kernel is found and loaded by the boot loader, the default boot process is identical across all architectures. The following are the main stages involved in Linux boot process.This process applied debian,ubuntu and most of linux Distributions BIOS (basic input/output [...]

Debian: Debian Admin Step By Step Tutorials and articles with screenshots

PXE Booting Index - SB1's Dev Wiki

Small but nice PXE boot wiki - Booting debian, knoppix and fedora via pxe

knoppix: del.icio.us/tag/knoppix

[DRBD-user] initscript should be non-interactive

A long discussion about the boot process and ha services (drbd, heartbeat, etc.) order at boot, via init scripts. See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=221751

drbd: del.icio.us tag feed