PDA

View Full Version : How To boot without CD after Poor Man's Install



prehis
09-14-2004, 12:10 AM
I have an harddrive with 1.2GB as hda1 formatted as fat32.
I followed the Poor Man's Install and everything is ok.
I created a persistent home as image, i save my config.
Everything is ok, and running with cheatcodes:
knoppix home=scan myconfig=scan fromhd=/dev/hda1
but i'd want to boot from HD and not from CD, but i don't know how to configure the grub or the lilo.
Help me, please.

j.drake
09-14-2004, 03:05 AM
These may give you some ideas.

http://www.knoppix.net/forum/viewtopic.php?p=52847#52847
http://www.knoppix.net/forum/viewtopic.php?p=59980#59980

jd

CrashedAgain
09-14-2004, 03:45 AM
see this:http://www.knoppix.net/docs/index.php/RemasterFromHDInstallHowTo
it has tips about installing a toHD system.
To summarize:
use lilo. I'm assuming you have only one partition, hda1 (or hda1 plus a swap).
copy the directory /boot/isolinux from the cd to the hd.
you really only need the files /boot/isolinux/linux24, linux26, minirt24.gz & minirt26.gz.

Then edit /etc/lilo.conf add the following:


image=/mnt/hda1/boot/isolinux/linux24
label="Knoppix3.4-24"
append="lang=us fromhd=/dev/hda1 home=scan myconfig=scan apm=power-off"
initrd=/mnt/hda1/boot/isolinux/minirt24.gz
read-only

image=/mnt/hda1/boot/isolinux/linux26
label="Knoppix3.4-26"
append="lang=us fromhd=/dev/hda1 home=scan myconfig=scan apm=power-off"
initrd=/mnt/hda1/boot/isolinux/minirt26.gz
read-only


If you have another o/s, add it too. a windows entry is usually



other=/dev/hda1
label="Windows"
table=/dev/hda


run lilo to install lilo to the mbr.

That's it, you should now be able to boot into your Knoppix.
If you are unable to edit /etc/lilo.conf because of the read only file system, copy it to /home/knoppix then run lilo with
lilo -c /home/knoppix/lilo.conf

CrashedAgain
09-14-2004, 03:51 AM
Oops; sorry I think this should be:


image=/dev/hda1/boot/isolinux/linux24
and
initrd=/dev/hda1/boot/isolinux/minirt24.gz

not


image=/mnt/hda1/boot/isolinux/linux24

initrd=/mnt/hda1/boot/isolinux/minirt24.gz

baldyeti
09-14-2004, 08:23 AM
Oops; sorry I think this should be:
...
Sorry but it's the other way around; eg the mnt entries are the correct ones. Note that hda1 needs to be mounted (eg on its default mount point /mnt/hda1) when running lilo. I advise to always run "lilo -v" and pay attention to the possible error messages.

CrashedAgain
09-15-2004, 04:44 AM
Oops; sorry I think this should be:
...
Sorry but it's the other way around; eg the mnt entries are the correct ones. Note that hda1 needs to be mounted (eg on its default mount point /mnt/hda1) when running lilo. I advise to always run "lilo -v" and pay attention to the possible error messages.
Right. I thought of that also but haven't had time to correct myself yet.