Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How to save Knoppix on 780meg partition and boot from HD

  1. #1
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    140

    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

  2. #2
    Junior Member
    Join Date
    Mar 2004
    Location
    Russia - Petersburg
    Posts
    7
    config=scan home=scan
    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]?

  3. #3
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    140
    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/

  4. #4
    Junior Member
    Join Date
    Mar 2004
    Location
    Russia - Petersburg
    Posts
    7

    Re: How to save Knoppix on 780meg partition and boot from HD

    Quote 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

    1.)# ln -sf /z/boot/ /
    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.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    140
    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.

  6. #6
    Junior Member
    Join Date
    Mar 2004
    Location
    Russia - Petersburg
    Posts
    7

    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....

  7. #7
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    140
    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

  8. #8
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    140
    Here is a copy of the lines not commented out And the one that needed commented out. Let me know if this helps. Remember I am new to this too. But if I can get it working I'm sure that you can too. javascript:emoticon('')


    # Remove this line when you are done configuring. -KK
    #"! Please edit /etc/lilo.conf before running lilo!"

    lba32

    boot=/dev/hda

    install=/boot/boot-menu.b
    backup=/dev/null

    map=/boot/map

    timeout=100

    vga=normal

    default=Knoppix

    image=/z/vmlinuz
    append="lang=en fromhd config=scan home=scan noeject noprompt apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi quiet BOOT_IMAGE=knoppix"

    root=/dev/hda2
    label=Knoppix
    read-only
    initrd=/z/miniroot.gz

  9. #9
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    140
    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.

  10. #10
    Junior Member
    Join Date
    Mar 2004
    Location
    Russia - Petersburg
    Posts
    7
    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 ?

Page 1 of 2 12 LastLast

Similar Threads

  1. grub boot loader read the boot file from a windows partition
    By cli168 in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 06-20-2005, 03:57 AM
  2. possible to boot from fat partition?
    By mcin in forum Hardware & Booting
    Replies: 0
    Last Post: 05-18-2005, 10:56 AM
  3. Save boot options on USB pen drive?
    By ssustudent01 in forum Customising & Remastering
    Replies: 6
    Last Post: 03-30-2005, 04:10 PM
  4. CD Boot looking for a boot partition on hd, why on earth?
    By Zzap in forum Hardware & Booting
    Replies: 4
    Last Post: 03-05-2005, 08:08 PM
  5. Download and save to windows partition?
    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
  •  


Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.50



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$6.80



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$9.99



Linux Knoppix 4.0.2 Installation Disc picture

Linux Knoppix 4.0.2 Installation Disc

$39.99



KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture

KNOPPIX 9.1 LINUX INSTALL & LIVE DVD

$9.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$20.30



Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA picture

Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA

$79.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$19.95