PDA

View Full Version : How to manually install to hdd?



baldyeti
04-16-2003, 02:15 PM
Hi group,

I am thinking of installing knoppix 3.2 to hard disk.
My understanding, though, is that the knx-hdinstall
script won't allow fine control of the partitioning.
I'd like to have separate root, boot, usr and var partitions.
Has someone amended said script, or is there a faq
somewhere on how to do this "by hand" with knoppix.
I am familiar with linux, and comfortable with the
command line, fdisk, mkfs et al.

Thanks in advance.

RockMumbles
04-16-2003, 02:59 PM
This should be on the CD if not it is on Knopper.net knoppix FAQ


Q: Can one also install the distribution from the CD onto a hard drive?

A: In principal, yes (after all, the "master" system also runs on a hard
drive before it is burned to CD). However there is currently no
installation GUI for this, so installation to a hard drive should probably
only be attempted by more knowledgeable Linux users. Assuming the KNOPPIX
system has already booted, installation approximately follows this
procedure:
1.) initialize a free partition with the ext2 file system and mount it on
/mnt/knoppix, for example.
2.) cp -a /KNOPPIX/* /mnt/knoppix/
3.) set up /mnt/knoppix/etc/fstab and /mnt/knoppix/etc/lilo.conf for the
new system (Caution: symlinks in /boot initially point to the Ram
disk!), run lilo.
4.) mkdir /mnt/knoppix/home/knoppix && \
chown knoppix.knoppix /mnt/knoppix/home/knoppix
5.) Reboot, try the system out, fix any broken settings.
(No guarantees.)

rock

MattT
04-16-2003, 04:53 PM
The way I do it is very easy. Use knx-hdinstall. Then copy what you want to the other partitions. All you have to do then is a quick edit to the text file /etc/fstab. For example add a line like:

/dev/hda5 /home defaults 0 0

After rebooting this will make partition 5 be the /home directory. By the way I am not sure that it is exactly right because I am not on a Linux box right now; but it is really easy to figure out once you take a look at fstab.

boffy_b
04-27-2003, 12:34 PM
I set up my partitions beforehand and then used knx-install without a hitch.


Q: Can one also install the distribution from the CD onto a hard drive?

A: In principal, yes (after all, the "master" system also runs on a hard
drive before it is burned to CD). However there is currently no
installation GUI for this, so installation to a hard drive should probably
only be attempted by more knowledgeable Linux users. Assuming the KNOPPIX
system has already booted, installation approximately follows this
procedure:

Is that from an old FAQ, because when I ran knx-install it had a (curses) GUI, and I as a Linux n00b found it very easy to install, simpler that the red-hat installer, which i failed to finish

billcondie
04-28-2003, 02:12 AM
I am a complete neophyte. But the CTL-ALT-F1 followed by knx-hdinstall worked like a charm for me.

Actually it gives me more than I can handle at thois point; how can I install it EXACTLY like the CD, with the addition of ROOT?