Results 1 to 3 of 3

Thread: Installing Knoppix on hard drive

  1. #1
    Junior Member
    Join Date
    Mar 2003
    Posts
    2

    Installing Knoppix on hard drive

    Hi,

    I am trying knoppix for the first time. I like the way it configured
    itself on my machine. This made me want to install it to the hard
    drive.

    I have an old AMD Duron 800 with SIS 630. When booting from the CD, I
    had to specify the xvrefresh=75 and screen=1024x768 for it to come up
    properly, otherwise it failed (screen was not visible).

    Also because of the shared memory for the video card, I need to
    specify the mem= on the boot options as well.

    After I got through these problems, the CD-based session worked well.

    I currently have a dual boot between Debian Woody and Windows XP. I
    want to replace Debian with Knoppix. knx-hdinstall seems to use only
    two partitions (swap and root), so the partitioning scheme that I had
    created for debian could not be used. I just chose one of the large
    partitions for the root filesystem and proceeded.

    I think lilo had problems, but I couldn't read any error messages as
    the hdinstaller went to the next step immediately.

    Upon booting, I still saw the "old" lilo screen from my debian
    installation. Needless to say, choosing one of those options failed
    miserably.

    I rebooted with the knoppix CD and tried to run lilo by hand. I
    mounted the filesystem that I had installed as the root filesystem
    through "mount -o rw /mnt/hdb6". Then I did "cd /mnt/hdb6; chroot ."
    All this seemed to work fine. I could see the /etc/lilo.conf (in
    /mnt/hdb6) having the boot device as /dev/hdb. I tried running lilo -
    it says "Fatal: cannot open /dev/hdb". I tried changing it to /dev/hda
    with the same results.

    What can I do to proceed?

    Thanks,
    Sridhar

  2. #2
    Junior Member
    Join Date
    Mar 2003
    Posts
    2
    I rebooted with the knoppix CD and tried to run lilo by hand. I
    mounted the filesystem that I had installed as the root filesystem
    through "mount -o rw /mnt/hdb6". Then I did "cd /mnt/hdb6; chroot ."
    All this seemed to work fine. I could see the /etc/lilo.conf (in
    /mnt/hdb6) having the boot device as /dev/hdb. I tried running lilo -
    it says "Fatal: cannot open /dev/hdb". I tried changing it to /dev/hda
    with the same results.
    The problem was that chroot didn't have access to the same mounts that the CD did.

    So, here's how I solved this problem:

    I changed the boot device to /dev/hda as mentioned above.

    Then I moved /boot to /boot.old, ln -s /mnt/hdb6/boot /boot

    lilo -C /mnt/hdb6/etc/lilo.conf then works fine.

    Note: if you have to add any kernel parameters to the boot, you should edit lilo.conf before running lilo.

    Sridhar

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    Glad you got it working. But actually all you had to do was boot your new install with the boot floppy and run LILO. Oh and BTW - although Knoppix won't install to your original partition scheme it certainly can be made to use it after installation. Simply copy the respective directories to their new partitons, make sure everything points to the new locations and you're set.

Similar Threads

  1. Need help installing Knoppix 3.8.1 to hard drive please
    By linuxnewbie01 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 04-12-2005, 03:55 AM
  2. Installing Knoppix on hard drive
    By Bubba in forum General Support
    Replies: 3
    Last Post: 10-17-2004, 06:19 PM
  3. installing knoppix on hard drive
    By DimGR in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 04-30-2004, 06:39 PM
  4. Can i use knoppix of a hard drive.? Without Installing.
    By stupidkid in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 09-28-2003, 06:59 AM
  5. Installing Knoppix on 2nd Hard Drive
    By Andy from Somerset in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 06-23-2003, 07:31 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
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$22.45



CORSAIR - VENGEANCE LPX 32GB (2x16GB) 3200MHz DDR4 C16 DIMM Desktop Memory picture

CORSAIR - VENGEANCE LPX 32GB (2x16GB) 3200MHz DDR4 C16 DIMM Desktop Memory

$59.99



New SK Hynix 8GB PC4 DDR4-2666 Desktop Memory picture

New SK Hynix 8GB PC4 DDR4-2666 Desktop Memory

$13.00



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$23.95



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



Samsung 16GB (4x4GB) 1Rx8 PC3-12800U 1600Mhz DDR3 RAM Memory M378B5273DH0-CK0 picture

Samsung 16GB (4x4GB) 1Rx8 PC3-12800U 1600Mhz DDR3 RAM Memory M378B5273DH0-CK0

$14.00



HYNIX HMT31GR7BFR4C-H9 8GB PC3-10600R DDR3-1333MHZ 2Rx4 (LOT OF 8) DRAT-3 picture

HYNIX HMT31GR7BFR4C-H9 8GB PC3-10600R DDR3-1333MHZ 2Rx4 (LOT OF 8) DRAT-3

$86.00



Lot Of 10 Mixed Samsung 16GB 2Rx4 PC4-2133P RDIMM DDR4-17000 ECC Server Memory picture

Lot Of 10 Mixed Samsung 16GB 2Rx4 PC4-2133P RDIMM DDR4-17000 ECC Server Memory

$149.99