-
Senior Member
registered user
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?
-
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!
-
Senior Member
registered user
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?
-
Senior Member
registered user
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.
-
Senior Member
registered user
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.
-
Senior Member
registered user
HDbased install problem-CLOSED!
Sorted this out with a full install of the Knoppix distro. Thanks to all who helped out.
Similar Threads
-
By adamherb in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 01-03-2005, 02:49 AM
-
By Popovn in forum General Support
Replies: 0
Last Post: 03-19-2004, 01:18 PM
-
By Popovn in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 03-19-2004, 01:16 PM
-
By ktheking in forum General Support
Replies: 4
Last Post: 07-03-2003, 01:23 AM
-
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
-
Forum Rules
![KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture](/store/img/I3EAAOSwdEll-z0J/s-l225//KNOPPIX-9-1-LINUX-INSTALL-LIVE-DVD.jpg)
KNOPPIX 9.1 LINUX INSTALL & LIVE DVD
$9.99
![Linux Knoppix 4.0.2 Installation Disc picture](/store/img/jvgAAOSw2kVl3ru~/s-l225//Linux-Knoppix-4-0-2-Installation-Disc.jpg)
Linux Knoppix 4.0.2 Installation Disc
$29.99
![Knoppix NSM 1.2 picture](/store/img/btwAAOSwWpVlAOZn/s-l225//Knoppix-NSM-1-2.jpg)
Knoppix NSM 1.2
$8.00
![Knoppix Linux Bootable OS v8.6](/store/img/m9EAAOSwwL5fs9mY/s-l225//Knoppix-Linux-Bootable-OS-v8-6-Original-Live-Opera.jpg)
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](/store/img/2xQAAOSwtSZlxsHn/s-l225//Knoppix-9-1-Live-Linux-GNU-Bootable-USB-Flash-Driv.jpg)
Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA
$19.99
![Hamshack Live DVD-ROM picture](/store/img/Or0AAOSwsZpkY8PH/s-l225//Hamshack-Live-DVD-ROM.jpg)
Hamshack Live DVD-ROM
$10.00
![Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA picture](/store/img/u1wAAOSwhBJljLXq/s-l225//Acer-Aspire-One-9-inch-Netbook-ZG5-512MB-RAM-8GB-S.jpg)
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](/store/img/UqAAAOSwPf1mNj1O/s-l225//Knoppix-3-4-Linux-installation-CD.jpg)
Knoppix 3.4 Linux installation CD
$5.00
![Knoppix Linux Bootable OS v8.6](/store/img/m9EAAOSwwL5fs9mY/s-l225//Knoppix-Linux-Bootable-OS-v8-6-Original-Live-Opera.jpg)
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick
$19.95