PDA

View Full Version : post knoppix-installer blues.



johnrw
03-24-2008, 02:35 AM
Well... maybe now I see why the hard drive install is so discouraged. Shame.
Here is my bootinfo following what seemed to be a successful install.
I first used the Save configuration to file... and then edited that file... to remove
the format partition default option... as I did not want to lose the files on that
partition...
Since I use grub4dos installed on a small vfat partition known to any Windows as drive C:
I could boot this by just going to a grub cmdline and entering
root (hd1,7)
chainloader +1
boot

Then I at a different debian grub menu to pick a 2.6.29 kernel.
It started looking for RAID... and then tried to resume from a swap partition... and eventually decides against doing that...
then starts booting normally. Until udev gets called repeatedly... in
/etc/rcS.d/S03udev
/etc/rcS.d/S35mountall.sh
/etc/rcS.d/S36udev-mtab


Here is the knoppix-install's cfg file.


REGISTERED=' SYSTEM_MODULE SYSTEM_TYPE HD_MODULE HD_FORMAT HD_FSTYPE HD_CHOICE HD_MAP HD_IGNORECHECK SWAP_MODULE SWAP_AUTODETECT SWAP_CHOICES SERVICES_MODULE SERVICES_START BOOT_MODULE BOOT_LOADER BOOT_DISK BOOT_WHERE INSTALL_READY'

SYSTEM_MODULE='configured'
# Determines if the system is a debian-derivate, a copy from CD or a nice mix of both
# Possible are: knoppix|beginner|debian
# Default value is: debian
SYSTEM_TYPE='knoppix'

HD_MODULE='configured'
# Determines if the HD should be formatted. (mkfs.*)
# Possible are: yes|no
# Default value is: yes
HD_FORMAT='no'
# Sets the Filesystem type.
# Possible are: ext3|ext2|reiserfs|reiser4|xfs|jfs
# Default value is: reiserfs
HD_FSTYPE='ext3'
# Here the Knoppix-System will be installed
# This value will be checked by function module_hd_check
HD_CHOICE='/dev/hdb8'
# Here you can give additional mappings. (Experimental) You need to have the partitions formatted yourself and give the correct mappings like: "/dev/hda4:/boot /dev/hda5:/var /dev/hda6:/tmp"
HD_MAP=''
# If set to yes, the program will NOT check if there is enough space to install knoppix on the selected partition(s). Use at your own risk! Useful for example with HD_MAP if you only have a small root partition.
# Possible are: yes|no
# Default value is: no
HD_IGNORECHECK='no'

SWAP_MODULE='configured'
# If set to yes, the swap partitions will be autodetected.
# Possible are: yes|no
# Default value is: yes
SWAP_AUTODETECT='yes'
# The swap partitions to be used by the installed knoppix.
# This value will be checked by function module_swap_check
SWAP_CHOICES='/dev/hda7
/dev/hdb2'

SERVICES_MODULE='configured'
# Possible services are for now: kdm cupsys smail ssh samba
# Default value is: kdm cupsys
SERVICES_START='kdm cupsys'

BOOT_MODULE='configured'
# Chooses the Boot-Loader
# Possible are: lilo|grub
# Default value is: grub
BOOT_LOADER='grub'
# If set to 'yes' a boot disk will be created!
# Possible are: yes|no
# Default value is: yes
BOOT_DISK='no'
# Where the Boot-Loader will be installed
# Possible are: mbr|partition
# Default value is: mbr
BOOT_WHERE='partition'
INSTALL_READY='yes'

Googling was not much help here.

I picked the knoppix style install method.
The commandline was carried over to my new grub bootup cmdline
which was not entirely useful so I tried again and cleaned it up a bit. Same results.

It seems that there are a few more udev files launched in /etc/rcS.d/
S03udev
S35mountall.sh
S36udev-mtab

than when booted from cd.
I figured I would put it here... as to document a prior case for someone else.

The other thing... after I ran this script... the /home/knoppix/*
seemed to be changed to root ownership. Was scary. KDE bugged out.
The command I used to restore sanity was
sudo chown -Rc knoppix:knoppix /home/knoppix

---------------------------------------
Enabling DMA acceleration for: hdc [BENQ DVD LS DW1655]
Running from HD, checking filesystems...
Activating swap...done.
Checking root file system...fsck 1.40-WIP (14-Nov-2006)
hdb8: clean, 1170979/6111232 files, 9848453/12207384 blocks
done.
Checking file systems...fsck 1.40-WIP (14-Nov-2006)
done.
Running from HD, regenerate ld.so.cache and modules.dep...
Processor 0 is AMD Athlon(tm) XP 2400+ 2030MHz, 256 KB Cache
ACPI Bios found, activating modules: ac battery button container fan i2c_ec processor sbs thermal video
USB found, managed by udev
Firewire found, managed by udev
Starting udev hot-plug hardware detection... Started.
Autoconfiguring devices... Done.
Mouse is ImExPS/2 Logitech Explorer Mouse at /dev/input/mice
Soundcard: Creative Labs SB Live! EMU10k1 driver=snd-emu10k1
AGP bridge detected.
Video is ATI Technologies Inc RV350 AP [Radeon 9600], using Xorg(ati) Server
Monitor is ACRad52, H:30-82kHz, V:56-76Hz
Using Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
Scanning for Harddisk partitions and creating /etc/fstab... Done.

mkdir: `': No such file or directory
Using swap partition /dev/hda7.
Using swap partition /dev/hdb2.
Network device eth0 detected, DHCP broadcasting for IP. (Backgrounding)

Starting the hotplug events dispatcher: udevdudevd[4920]: init_udevd_socket: bind failed: Address already in use
error initializing udevd socket
udevd[4920]: main: error initializing udevd socket
failed!
Mounting local filesystems...mount: usbfs already mounted or /proc/bus/usb busy
mount: according to mtab, /proc/bus/usb is already mounted on /proc/bus/usb
mount: sysfs already mounted or /sys busy
failed.
Activating swapfile swap...done.
INIT: Entering runlevel: 2
Starting Common Unix Printing System: cupsd.
root!tty1:/# cat /etc/mtab
/dev/hdb8 / ext3 rw,errors=remount-ro 0 0
/proc/bus/usb /proc/bus/usb usbfs rw,devmode=0666 0 0
/dev/pts /dev/pts devpts rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
tmpfs /dev tmpfs rw,size=10M,mode=0755 0 0
root!tty1:/#

johnrw
03-24-2008, 04:47 AM
Hmmm...

http://www.knoppix.net/wiki/Hd_Install_HowTo

says...
In the knoppix-installer, the arrow keys move focus and space bar selects options. Be sure the root partition is among the first 4 partitions on the drive, formatted with ext2 or ext3, and is set to "active."

Maybe that is it. Now why on earth would that be a condition?

johnrw
03-24-2008, 09:59 AM
Hmmm, I see that Klaus is working on this for Knoppix 5.3.1. I will just retry with that installer.
http://www.knopper.net/knoppix/0wn-en.html

I did wind up grabbing Kanotix's rc7 image... and did a hd install using that.
I'd like for 0wn(zero work needed) to come along though. Can't wait really.