Poor Man's Install (with Grub)
!Outdated. It's much easier now!
(If you don't have Grub, we can do it later)
Who would not prefer starting the CD from the faster hard disk.
So if you have a free partition (800MB for CD, 2GB for DVD), and if you like to work with a persistent home, but you don't like the slow speed from CD, do the following:
Start the CD, open the empty partition and make it writable (right mouse-click the icon and change read/write mode)
Now copy the complete /KNOPPIX folder from the CD into the empty partition.
Mount out of this folder the boot.img.
As "root", or using su or sudo:
mount -o loop /cdrom/KNOPPIX/boot.img /mnt/test
and you will find like magic (with the mount -o loop command) some important files in /mnt/test.
To keep things simple, copy them all besides the KNOPPIX-folder, which you have already in your partition.
You can now umount the /mnt/test (or not), for the CD that's not important, but now you should have a /boot/grub/menu.lst, somewhere. If it's not there, you are lost and you would have to ask someone how to go on with lilo or a floppy disk.
So, now you edit (where you have installed your grub) the /boot/grub/menu.lst file, adding a new entry. Assuming your partition is hda4?
, it should look like this:
title Kanotix CD - Bughunter 5
kernel (hd0,3)/vmlinuz ramdisk_size=100000 init=/etc/init lang=en fromhd=/dev/hda4 \
apm=power-off alsa dma fb1280x1024 screen=1280x1024 hda=scsi hdb=scsi \
hdc=scsi hdd=scsi nomce quiet vga=791
I don't know what all that means, other than there is the option of the language "lang=en" or "alsa" for having sound automatically, "screen=1280x1024" (because I prefer this resolution on my desktop). You can any necessary cheatcodes here, for example if you have ACPI problems, add acpi=off. If you have a persistent home on another partition, just put it in here (don't add it if you don't have one already, it would not run).
It's that simple to do a Poor Man's install. I have two of them, one on each computer, as I wanted to check out the persistent home. I am surprised at how well that works.
Maybe someone could be so kind to add here how it would be done using lilo instead of grub or with a disk. By the way, a hard disk install is quickly done using the fromHD?
as the Poor Man's install is also called.
For Grub-newbees (maybe you did not have anything else but Win)
I assume you did everything up to this point and you would be ready for reboot. But you don't have grub? No problem, we'll take care of this now. To install grub, as sudo or root:
grub-install --root-directory=/mnt/hda4 /dev/hda
(we assume you installed on hda4?
, otherwise you have to edit the command. Surely the partition (/mnt/hda4?
) has to be mounted for read AND write. If it's not just click it on its icon on the KDE Desktop (= mount) and click the right mouse button for changing the read/write mode in Actions - Change read/write mode.
Grub now checks a bit and writes some information. For our example, the specifics are not too important. What we still need is a valid and usable /boot/grub/menu.lst on our partition with the new install.
There is one, but that one was for the CD to start, so we edit it, as the important things are already in it.
Near the top of the file, the boot-messages are mentioned , just uncomment or delete that line (or change it like we do it later). Edit an entry which seems close to your needs, I mean english, or acpi and so on, pick that worked from the CD. Take care now! You have to edit the location of kernel and initrd. If it is like the example hda4?
, you change to (hd0?
,3). Yes, I know that looks a bit funny, Grub is funny like that. Instead of counting 1,2,3 it counts 0,1,2. But Grub is a good thing in spite of that.
Later in the line, if you make the entry for your home=wherever (wherever being the right partition number), than you type "normal" again.
In this grub line you can type all your options as mentioned above.
If you do a fresh install and did not have a persistent home before, don't type it in now. First make one, type it here later.
Let's not forget the good old windows. So we create another entry like this:
,0) (usually, it's implanted here, but soon, it will loose first place)
As for the other following lines in Kano's wonderful Live-Grub-Menu, you may delete them or not, since they will not work anymore. I prefer things clear, so I deleted them.
That's all, reboot.
I have Kanotix PoorMan?
Installs (DVD-Version on both computers), my old Windows Installs (seldom used), and I have a Debian Sid with the newest Kanotix-Kernel. Yesterday I installed new DVD-Versions as HD-installs.
For people who don't have a DVD-ROM in their Laptop, I just copied the complete install from my desktop computer as described in NFS-Kernel-Server. You can do it from CD. There is an English version.
Please check this, as I am not native to english.