-
Knoppix installation...
It seems I've installed Knoppix on a hdd partition correctly, but for some reason, the boot floppy made by the process never works! And now I have the install on the parition, but I can't boot it! I tried GAG, but it doesn't detect a boot sector or something. I installed LILO on the partition so I didnt replace the MBR. So whats up?
-
Senior Member
registered user
Boot Woes
Just an idea.....boot from the CD to completion, bring up console, type "sudo su" [without quotes] and run cfdisk. Look at your primary LINUX partition and make sure it is set to bootable. That is the first choice in the several choices at bottom of screen. You could use qtparted, but i am not too familiar with that program. But cfdisk is pretty simple to use. Just look for your PRIMARY LINUX PARTITION......on that same line you should see the word 'boot'. If not, look at bottom of screen. bootable is the first choice. Just hit "enter" then press right arrow key to "write", press enter....then press right arrow key all the way round till you come to QUIT or EXIT. Reboot and cross your fingers! Hope this helps.
-
And this will allow me to use it in GAG? Or the NT bootloader?
-
Senior Member
registered user
lilo
Hi....Unfortunatly I am not familiar with GAG or the NT bootloader as far as a dual boot with LINUX. I know, just from my experiance with KNOPPIX, if you just use the regular installer, knx2hd, you will be prompted to setup LILO, but you have to configure it later by using KWRITE, or any editor to recognize and show you your boot options, as far as choices between Windows, Linux etc. Anyway thats how I did mine.
-
If you want to use NTldr you can:
- Boot cd
- open a terminal
- type: mount /dev/hdXY /mnt/hdXY (where X is the disk and Y partition for root)
- type: chroot /mnt/hdXY/ /sbin/lilo -v (to change root to and run lilo on the hdinstall)
- type: cd /
- type: dd if=/dev/hdXY of=/bootsect.lnx bs=512 count=1
- copy the file from / to C:\ if it's fat, via floppy or some other if it's ntfs
- type: ctrl-d (to exit from chroot)
- reboot to windows
- add the line C:\bootsect.lnx="Linux" to C:\boot.ini
- reboot again and hope for the best
-
Markus, I tried your method and it didn't work, do I have to do what bob suggested first?
-
About the partitions? Yes, you should do it first.
Did you check if you got the file bootsect.lnx in your root partition?
-
Ok, when I do the cfdisk thing, it only looks at my first hdd. hda2 has the boot flag on. But my linux install is on hdb5! And I can't seem to check it. I type cfdisk /mnt/hdb5 and it says its in read only, even though I mounted the drive, and changed the read-write access. I see my knoppix install in there and everything but it doesnt work. I tried the knoppix bootfromhd thing and it can't find something. And yes, I found the bootsect thing, copied it to a floppy, pasted in C: of windows and put in boot.ini your thing. It just gives me a black screen with the flashing underscore...
Is there something inside bootsect? I opened it in notepad and its empty...
Also, if this doesnt work, how do I dual boot with LILO? Without completely killing my MBR...
-
Junior Member
registered user
Re: lilo

Originally Posted by
bob58
Hi....Unfortunatly I am not familiar with GAG or the NT bootloader as far as a dual boot with LINUX. I know, just from my experiance with KNOPPIX, if you just use the regular installer, knx2hd, you will be prompted to setup LILO, but you have to configure it later by using KWRITE, or any editor to recognize and show you your boot options, as far as choices between Windows, Linux etc. Anyway thats how I did mine.
Bob:
I just did the "sudo knx2hd" install (after installing Win 98SE first, on its own partition on the same drive) and lilo came up with the windows option for booting. I went ahead and edited the lilo config file to remove some undesirable options (and to rename some of them), but it recognized the Windows partition and booted to it just fine. I was impressed.
Your mileage may vary. . .
-
Have you read the sticky on top of this Hdd Install section: http://www.knoppix.net/forum/viewtopic.php?t=3311
I don't think notepad will show any characters in bootsect.lnx, haven't checked though.
Try with cfdisk /dev/hdb (notice dev instead of mnt)
Still I believe the easiest way to partition for linux is to pop in a Mandrake install CD, prepare the partitions and abort the installation just to continue with the distro of choise. (oh am I going to get flamed for that one
)
Dual-booting with Lilo in the MBR isn't usually a problem, if it borks up you can restore your MBR. All in the sticky.
Similar Threads
-
By AJones in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 02-10-2005, 05:20 AM
-
By Mr.Redhat in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 01-11-2004, 02:46 PM
-
By jan.tw in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 10-04-2003, 07:40 PM
-
By rue-bock in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 09-06-2003, 09:09 PM
-
By corrosion in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-09-2003, 12:43 AM
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

Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb
$1671.47

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro
$316.61

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$90.00

Acer Predator Helios 300 (1TB SSD, Intel i7-9750H, Nvidia 1660TI, 16GB RAM)
$249.99

SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM
$159.99

Dell Precision 7560 i7-11850H 2.5GHz 32GB 1TB NVMe 15.6" T1200 No OS: Fair
$459.00

External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac
$19.99

Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot
$129.99

Micro Center 2-in-1 SSD Flash Drive 1TB USB-A/USB-C USB 3.2 Gen 2 10Gbps
$240.00

Silicon Power 1TB SSD 3D NAND A55 SLC SATA III 2.5" SSD Laptop XBOX PS3 PC
$119.99