PDA

View Full Version : debootstrap base-config Terminated



Albretch
12-24-2005, 02:21 AM
after running bebootstrap and succesfully ending with:
. . .
I: Base system installed successfully.
. . .

in case you try to chroot and then run base-config in order to finish setting up your system, but are getting: "Terminated"

// - - - - - - - - - - - - -
sh-3.00# whoami
root
sh-3.00# chroot /mnt/hda2
sh-2.05b# pwd
/
sh-2.05b# base-config
Terminated
// - - - - - - - - - - - - -

that happens because you are missing some libraries. You should:
// __ mount your partition
sh-3.00# mount -t ext3 /dev/<?> /mnt/<?> -rw

// __ chroot into it
sh-3.00# chroot /mnt/<?>

// __ mount the proc fs
sh-2.05b# mount -t proc proc /proc

// __ make the 'dev' devices
sh-2.05b# cd /dev
sh-2.05b# pwd
/dev
sh-2.05b# ./MAKEDEV generic

// __ mount /dev/pts
sh-2.05b# mount -t devpts -o gid=5,mode=620 none /dev/pts

// __ and then go for it
sh-2.05b# base-config

Albretch

cesman
12-29-2005, 08:32 AM
Nice tip!