-
Senior Member
registered user
How to save Knoppix on 780meg partition and boot from HD
1.) I am fairly new to Linux
2.)This worked on my computer don't know about yours
3.)This is not my work. Just a combination of other peoples guides that worked for me
3.) If there is someone out there who can improve on this method please by all means do so.
Part1 Partition your hard drive
I am assuming that you are using an old machine with a small hard drive, and Knoppix 3.4 or(3.3) will be the only OS. If you have the space you should use knoppix-installer.
1.)Boot the knoppix cd. If you are reading this and are installing 3.4 when the penguin picture comes up you will need to type Knoppix lang=us The = on the German keyboard is the close parenthesis over the 0. If you are using 3.3 you likely already have the English version.
2.)Click on the penguin next to the big K on the bottom left.
3.)Open root shell
4.)Type in cfdisk
5.)OK this is the part where you delete everything on your hard drive. If you do not to lose every single file on this hard drive forever to install Knoppix close the root window. If you want to install Knoppix delete all of the partitions on the drive. Use the keyboard arrows to select your choices.
6.)Create a swap partition. They say this should be twice the size of your ram. For a small drive use between 250 and 500 meg. The type should default to linux swap so you wont need to worry about the type.
7.)Create the Knoppix partition. Down arrow to the empty space. Select new. Even though the disk is 700 meg I have not had any luck installing on anything smaller than 780 meg. So create the 780 meg partition make sure the type is linux and this partition should be bootable.
8.)Create a partition for your encrypted home. Again anything larger than 350 megs has not worked for me. So make a 350 meg partition make sure the type is Linux.
9.)Make whatever is left a Linux partition.
10.)Select write to disk. Then select quit. From the prompt type reboot. Restart remember to change the language to English when it starts up again.
Part2 Getting Knoppix from the cd to you hard drive
1.)Open the root shell again
2.)Type in the following commands ?#? means new command do not type the # symbol. I found is useful to highlight the commands here then go to the root shell and press down on the center button to paste the command
# mke2fs -i 99999 /dev/hda2
# tune2fs -j -c 0 -i 0 /dev/hda2
# mkdir /z
# mount /dev/hda2 /z
# cp -r /cdrom/* /z This one will take a long time
# mkdir /y
# mount -oloop /cdrom/KNOPPIX/boot.img
#cp /y/* /z
# cp /etc/lilo.conf /z
# vi /z/lilo.conf
Part3 Setting up Lilo boot manager to start your computer without the cd
1.)You should be looking at a black screen with different colored letters. Put your mouse off to the side. You wont need it here.
2.)Press the letter i This will put you in the insert mode. Scroll down to the red letters with the down arrow key. Insert a # in front of the first red letter. All of the letter should turn blue.
3.)Scroll down until you find the line ?image=? make sure that says image= /z/vmlinuz
4.)Include the following commands in append= lang=us fromhd=/dev/hda2 config=scan home=scan separate cheat code with a space. I had to include nodma. REMOVE vga=791
5.)Change read-write to read only
6.)In the indented section where it says label=knoppix pres enter and type inird= /z/miniroot.gz. The letters should turn yellow. If the letters are highlighted red you put this command in the wrong place.
7.)Make sure it says root=/dev/hda2
8.)Press the escape key.
9.)Hold down the shift key and press the z key twice
10.)You should now be back at the root shell
Step 4 Two root shell commands to tell the bootloader how to boot Knoppix
1.)# ln -sf /z/boot/ /
2.)# lilo -C /z/lilo.conf
3.)You should get the confirmation *knoppix added
Step 5 reboot
-
are This codes garantee the autosave home|config on shutdown?
Your instruction is very simply and functional !!
May you write instructioòû for easy adding some-thing in compressed OS file (installed in home progs)[or/and deleting]?
-
Senior Member
registered user
If you use the encryipted home directory your files should autosave. You have to set up your home directory. It is one of the options on the penguin icon on the lower left. I do not garantee anything. If you change your settings you will have to remember to save those again the option isone of the options on the penguin icon is .
There is a scipt for adding a few programs in the 3.4 version like nvidia driversand a couple of games. Also look at Klik for adding other programs.
http://klik.berlios.de/
-
Re: How to save Knoppix on 780meg partition and boot from HD
Originally Posted by
nvgringo
.
# mount -oloop /cdrom/KNOPPIX/boot.img
must be? :
# mount -o loop /cdrom/KNOPPIX/boot.img /y
5.)Change read-write to read only
must be? :
5.)Change read-write to read-only
6.)In the indented section where it says label=knoppix pres enter and type inird= /z/miniroot.gz. The letters should turn yellow. If the letters are highlighted red you put this command in the wrong place.
Ihadnt found any place, where was "right place"
my string - allways rad
I dont understand this step - can any-bady axplane?
2.)# lilo -C /z/lilo.conf
3.)You should get the confirmation *knoppix added
I see :
Code:
Fatal: creat boot/map~: No such file or directory
Can you compare your instruction and original hdBasedHoTo(1.2 chapter)?
And write correct?
Thanks.
-
Senior Member
registered user
You are correct on the two errors. You must be looking at the same guides that I used. As far as where to put inird= /z/miniroot.gz I remember that it was in an indented section. I will verify and post in a few hours.
-
Re: How to save Knoppix on 780meg partition and boot from HD
Can you to redoing all actions by your instructions on machine with 1 CD and 1 HD ?
I think youll found not only thes mistakes...
Check you advices pls....
-
Senior Member
registered user
I would rather not format my
hard drive and start over on an install that works. If thats what it takes to get these instructions to work I'll do it. But lets start by making sure that LILO is configured corectly on your machine. I will post LILO.conf in a little while and we can go from there. If it works I will repost the process to the forum.
Sorry this didn't work for you first try
-
Senior Member
registered user
-
Senior Member
registered user
initrd=/z/miniroot.gz is directly under read-only the letters initrd are yellow the = is purple and /z/miniroot.gz the letters are red.
-
HI
Id done HdBased work copy of knoppix!!
Bat i have anover problem - after start "KDE" - its "lagging" - my mouse dont move "smoothly"....
Booting time from HD is mach more then from CD ..(its only for "startx")..
Im newbie and dont know what i must do in that situation ...
May it be becose i have swap-partition on this HD too ?
Similar Threads
-
By cli168 in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 06-20-2005, 03:57 AM
-
By mcin in forum Hardware & Booting
Replies: 0
Last Post: 05-18-2005, 10:56 AM
-
By ssustudent01 in forum Customising & Remastering
Replies: 6
Last Post: 03-30-2005, 04:10 PM
-
By Zzap in forum Hardware & Booting
Replies: 4
Last Post: 03-05-2005, 08:08 PM
-
By rrfish72 in forum General Support
Replies: 6
Last Post: 09-03-2004, 11:16 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot
$188.99
Netac 2TB 1TB 512GB 240GB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot
$118.99
1.92TB SSD SATA 2.5 SAMSUNG MZ-7LM1T90 PM863 MZ7LM1T9HCJM Tested 93%+
$45.73
Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot
$109.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$13.99
Crucial M500 480GB SED MLC 2.5" 6Gbps SATA Drive CT480M500SSD1 - PRICE PER UNIT
$24.99
Genuine Samsung 850 EVO MZ-75E250 250GB 2.5" SATA III SSD Solid State Drive
$20.00
Fanxiang 256GB SSD 2.5'' SATA SSD III 6Gb/s 530MBs Internal Solid State Drive PC
$19.99
Netac 1TB 2TB 512GB 120GB Red Internal SSD 2.5'' SATA III Solid State Drive lot
$118.99
512GB 1TB 2tb 4tb 256g M.2 2280 SSD SATA3 Internal Solid State Drive Lot Dogfish
$271.99