Results 1 to 6 of 6

Thread: Knoppix 3.3 HDbased install problem.

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

    Knoppix 3.3 HDbased install problem.

    Hello all,

    I'm new to linux, and I like knoppix a lot! I am trying to do a hdbased install of knoppix to my hd so I can use the cd to boot and then have the hd install take over. Or have the xp boot.ini boot to the hd based install. I have a limited amount of space on my hard drive so can't do a full install yet until I get a new (larger) hd. Here's what I have and did. My config as follows on my laptop: 6 partitions- c:=FAT (200mb), d: thru g:=NTFS(4.5gb), j:=FAT32 (1.5gb) *note*:had to resize G: to 3 gb to make the J: partition for the hdbased install of Knoppix. I used qtparted to do this, and was successful. Booted cd and then copied the cd to J: using the instructions from the hdbased howto. Everything went ok, till I had problems with the lilo part. I don't want to install Lilo to be the boot manager on C:, but wouldn't mind if I could somehow get lilo written into boot.ini or use the cd to boot and then turn over to the hd. The kernel panics when I attempted the fromhd=/mnt/hda9 cheatcode when booting from the cd. It attempts to look for it from /mnt/hda1 instead and crashes. Is there a way to do this? If so, how?

  2. #2
    Junior Member
    Join Date
    Feb 2004
    Posts
    1
    Yes, there are several ways...
    Here's (the) one to get the NT-Bootloader boot linux as well...
    First, you need to boot up into linux.
    (Knoppix works well for this.)
    once running, issue these commands (as root):
    # mount -t vfat /dev/hda1 /mnt/hda1 -o rw
    # dd if=/dev/null of=/mnt/hda1/bootsect.lin count=1 bs=512

    when you have already installed lilo into the partition-bootrecord
    (/dev/hda9) you can now run:
    # dd if=/dev/hda9 of=/mnt/hda1/bootsect.lin count=1 bs=512

    now you can configure lilo to write it's bootblock to this file...
    # boot=/dev/hda1/bootsect.lin
    # root=/dev/hda9

    All you need to do is now set up C:\boot.ini to include a line like:
    C:\bootsect.lin="Linux"
    # echo C:\bootsect.lin=Linux >> /mnt/hda1/boot.ini

    You're done.

    Hope this helps!

  3. #3
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    235
    Well, I gave it a shot and it failed. Re-ran the hdbased steps again and when I got to the "lilo -C /mnt/hda9/boot/lilo.conf", it returned the following error: "Warning: partition type 0x0B on device 0x0309 is a dangerous place for a boot sector. A DOS/Windows/OS2 system may be rendered unbootable. The backup copy of this boot sector should be retained.
    Proceed? [N/y]y
    Fatal: Filesystem would be destroyed by LILO boot sector: /dev/hda9".

    Still, I went ahead and used your commands, edited the boot.ini file and rebooted. That came up with a black screen with a blinking cursor in the left hand window. So, basically I think it's unable to create a lilo boot sector in /dev/hda9 so that I can boot into that. Any other ideas or clues to sort this out?

  4. #4
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    235
    If this would help some more, here is what I have modified my lilo.conf file from /mnt/hda9/boot/:

    lba32
    boot=/dev/hda1/bootsect.lin
    root=/dev/hda9
    install=/boot/boot-menu.b
    backup=/dev/null
    map=/boot.map
    timeout=100
    vga=normal

    default=Knoppix

    image=/boot/vmlinuz
    append="lang=us myconf=/mnt/hda9 home=/mnt/hda9 dma ramdisk_size=100000 init=/etc/init apm=power-off hda=scsi hdb=scsci hdc=scsi hde=scsi hdf=scsci hdg=scsi hdh=scsi vga=791 initrd=/boot/miniroot.gz quiet BOOT_IMAGE=knoppix"
    root=/dev/hda9
    label=Knoppix
    read-only

    That's what I have it set to now. I hope that's correct as far as I can tell.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    235
    Simon,

    Your tip helped a lot, but left out one thing I needed to do to get this working: I needed to chroot to /mnt/hda9 where knoppix was copied to and run lilo from there to get the bootloader installed in the partition and then run your commands. Too bad I figured this all out after finally giving up and resorting to a full hd install instead of a hdbased install. But that's ok, I'm learning and believe it or not, this is only my 7th day of working with Linux. I'm so used to working with MS, and if I didn't take to the command line like a duck to water, I would have just used the cd forever.

  6. #6
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    235

    HDbased install problem-CLOSED!

    Sorted this out with a full install of the Knoppix distro. Thanks to all who helped out.

Similar Threads

  1. problem after knoppix install
    By adamherb in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 01-03-2005, 02:49 AM
  2. Make HdBased Copy -> "Lagging" after start KDE
    By Popovn in forum General Support
    Replies: 0
    Last Post: 03-19-2004, 01:18 PM
  3. Make HdBased -> "lagging" after starting KDE
    By Popovn in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 03-19-2004, 01:16 PM
  4. HDbased knoppix:Unable to determine video adapter
    By ktheking in forum General Support
    Replies: 4
    Last Post: 07-03-2003, 01:23 AM
  5. Booting hdbased knoppix with lilo.
    By reub2000 in forum General Support
    Replies: 9
    Last Post: 05-27-2003, 10:10 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 9.1 LINUX INSTALL & LIVE DVD picture

KNOPPIX 9.1 LINUX INSTALL & LIVE DVD

$9.99



Linux Knoppix 4.0.2 Installation Disc picture

Linux Knoppix 4.0.2 Installation Disc

$29.99



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.00



Knoppix Linux Bootable OS v8.6

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

$20.30



Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA picture

Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA

$19.99



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$10.00



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 3.4 Linux installation CD picture

Knoppix 3.4 Linux installation CD

$5.00



Knoppix Linux Bootable OS v8.6

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

$19.95