Autor |
Nachricht |
|
Titel: kanotix to usb-stick
Verfasst am: 26.09.2007, 16:10 Uhr
|
|
Anmeldung: 09. Mar 2007
Beiträge: 6
|
|
I have problems for install kanotix on a usb-stick of 2 gigas because the instalation is not complete some directories are emptly, can you tell me what can i do.
following instructs from:
http://kanotix.com/FAQ-myfaq-yes-id_cat-63.html#q321
How can you install KANOTIX on a USB-HD?
To do an installation of KANOTIX on a USB Harddisk, compared to a normal HD-Install you need to take some extra steps.
We start with a normal installationand choose the partition on the USB disk, where KANOTIX is to be installed.
(we speak of "sda1" here, but this is valid for any other partition on the USB disk).
The following changes then have to be made as root:
# mount /dev/sda1 /media/sda1
# mount --bind /proc /media/sda1/proc
# chroot /media/sda1
# echo ehci-hcd >> /etc/mkinitrd/modules
echo libusual >> /etc/mkinitrd/modules # not for 2005-04
# echo usb-storage >> /etc/mkinitrd/modules
In the file: etc/mkinitrd/mkinitrd.conf the value of the variable DELAY has to be set to 10 with the command:
# perl -pi -e 's/^(DELAY)=.*/\1=10/' /etc/mkinitrd/mkinitrd.conf
Starting with KANOTIX 2005-04 you also have to do:
# perl -pi -e 's/mkext2fs/mkcramfs/' /etc/mkinitrd/mkinitrd.conf
We now create a new initrd image:
# mkinitrd -o /boot/initrd.img-$(uname -r)
(Errors about missing modules can be ignored)
The file /boot/grub/menu.lst must be adapted. Therefore we look at the file:
# cat /boot/grub/device.map
(hd0) /dev/hda
(hd1) /dev/sda
and issue the following commands to make a needed change in menu.lst and add the right harddisk:
# perl -pi -e 's/hd1/hdX/' /boot/grub/menu.lst
# perl -pi -e 's/hd0/hd1/' /boot/grub/menu.lst
# perl -pi -e 's/hdX/hd0/' /boot/grub/menu.lst |
|
|
|
|
 |
|
Titel: kanotix to usb-stick
Verfasst am: 26.09.2007, 16:19 Uhr
|
|

Anmeldung: 28. Feb 2005
Beiträge: 1112
Wohnort: Camelot
|
|
|
|
 |
|
Titel: kanotix to usb-stick
Verfasst am: 26.09.2007, 21:15 Uhr
|
|
Anmeldung: 06. Jan 2005
Beiträge: 638
|
|
you tried to install Kanotix, which is about 2.3 GB after install, to a 2 GB-stick
this is impossible, since the space on the stick is not sufficient. A 4GB Stick does work.
you can install the latest KanotixThorhammerRC6 also to an external usb-drive, if you can create a partition there greater than about 2.4GB, better 4-5. The procedure you mentioned from the FAQ is no more necessary - Kanotix installed on a partition of an external usb-drive boots without additional hacking
with the above scrip you can install the livecd to a stick - this only needs 702 MB |
|
|
|
|
 |
|
Titel:
Verfasst am: 05.10.2007, 17:40 Uhr
|
|
Anmeldung: 09. Mar 2007
Beiträge: 6
|
|
My solution has been tinyflux, thanks |
|
|
|
|
 |
|
Titel:
Verfasst am: 23.12.2007, 14:06 Uhr
|
|
Anmeldung: 19. Dez 2007
Beiträge: 2
|
|
Do I have the same "autoconfiguring device" part of the livecd with an hd-installation? |
|
|
|
|
 |
|
Titel:
Verfasst am: 23.12.2007, 14:58 Uhr
|
|

Anmeldung: 25. Mar 2005
Beiträge: 2133
|
|
Some parts of the hardware are autodetected on each boot, but other parts are not. For instance, /etc/X11/xorg.conf contains settings for keyboard, mouse and graphics driver. You would have to edit this file to have the correct settings for each computer.
If you want a Kanotix LiveCD with your favorite software added to it, you have to get a 1 GB thumb drive, copy the iso file to it and install grub in the MBR of the thumb drive. Then you can boot off the thumb drive with cheat code fromiso. Kano included a script that looks for a folder /deb and installs the packages from this folder. |
_________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
|
|
|
|
 |
|