Please post your /etc/lilo.conf here, together with details of your system.
i did the installation sudo knoppix-installer
everything went fine. I did a reboot and it did not ask me what to load. windows or knoppix. boot loader was written on a disk and it was inserted. HOw can i boot to knoppix? i really do not like to boot off the cd everytime....
thanks
Please post your /etc/lilo.conf here, together with details of your system.
What version of windows do you have and what type of partition is it residing on? LILO can't be written directly to the windows partition if it is ntfs. If fat or fat32, then all you need to do is boot your knoppix cd, mount your knoppix installation (hdb1?) and chroot to it. I'm assuming you're using win ME or earlier, and LILO is installed to your mbr. Like so:
1) Boot cd
2) Open console as root and type: mount /dev/hdx# /mnt/hdx# -o rw
3) chroot /mnt/hdx#
4) mcedit lilo.conf
5) lilo
6) mount -t vfat /dev/hda1 /mnthda1 -o rw
7) dd if=/dev/hdx# of=/mnt/hda1/bootsect.lin count=1 bs=512
umount /mnt/hda1
9) exit
10) umount /mnt/hdx#
11) exit or reboot
x and # is the partition letter and number of your knoppix installation. If your using nt-based OS on ntfs, you would have to transfer bootsect.lin to/from floppy, or fat/fat32 partition and edit c:\boot.ini from windows and add this to the end of the file: c:\bootsect.lin="Linux". Close file and reboot and you'll see an option to boot into linux from nt,w2k, or xp's bootloader.
HTH,
Durand
it is winXP but before i did the hard drive installation i created new partitions on the 2nd drive and formated them as ext3 and journalised and linux swap. I also chose to have the boot loader installed on a floppy diskOriginally Posted by Durand Hicks
i will check all the things you mentioned later and i will post the results
thanks
I figured as much. For your NT system, do steps 1 > 5. Step 6 and beyond should go like this:
6) mount -t vfat /dev/fd0 /mnt/fd0 -o rw <----- to mount your floppy, this is necessary
7) dd if=/dev/hdx# of=/mnt/fd0/bootsect.lin count=1 bs=512 <--- to copy bootsect.lin to floppy
8) umount /mnt/fd0 <--- unmount floppy
9) exit
10) umount /mnt/hdx# <--- unmount linux installation
11) exit or reboot
12) Boot to windows xp and copy bootsect.lin from floppy to c:\.
13) Edit boot.ini and add this to the end:
c:\bootsect.lin="Linux", save and exit file and reboot.
Originally Posted by Durand Hicks
/etc/lilo.conf
bash: /etc/lilo.conf: Permission denied
root@ttyp0[knoppix]# mount /dev/hdb6 -o rw
mount: /dev/hdb6 already mounted or /mnt/hdb6 busy
mount: according to mtab, /dev/hdb6 is already mounted on /mnt/hdb6
root@ttyp0[knoppix]# chroot /mnt/hdb6
bash: /dev/null: Permission denied
bash: /dev/null: Permission denied
bash: /dev/null: Permission denied
bash: /dev/null: Permission denied
bash: /dev/null: Permission denied
bash: /dev/null: Permission denied
bash: /dev/null: Permission denied
bash: /dev/null: Permission denied
now what?
If I'm reading your post correctly, it looks like you didn't chroot to your knoppix installation. If you can, post the contents of fdisk -l /dev/hdb > hdb.txt here. Something didn't seem right, but my list is sound. Sometimes when booting the cd, your knoppix installation is already mounted but not always. The swap partition should have been mounted unless you typed at boot:If you attempted to mount the knoppix partition and it tells you that it's already mounted then do this in a console as root:Code:knoppix noswap dma idebus=66
1) umount /mnt/hdb6 <---to make sure it wasn't automounted by knoppix
2) mount -t ext3 /dev/hdb6 /mnt/hdb6 -o rw <-- to mount it correctly as read/write
3) chroot /mnt/hdb6 <--- switching to your knoppix installation you should get a new prompt as root
4) cd /etc <-- change to /etc directory where lilo.conf resides
5) mcedit lilo.conf <-- make sure root=/dev/hdb6 and boot=/dev/hdb6 is in there and save file
6) lilo <---- to create lilo bootblock in /dev/hdb6 if you see 1+0 instead of 0+1 then it's good
7) mount -t vfat /dev/fd0 /mnt/fd0 -o rw <-- mount floppy
8) dd if=/dev/hdb6 of=/mnt/fd0/bootsect.lin count=1 bs=512 <--- to transfer bootsect.lin to floppy
9) umount /mnt/fd0 <-- unmount floppy because we're done
10) exit <-- leave knoppix install
11) umount /mnt/hdb6 <-- unmount knoppix install
12 ) exit or reboot <-- leave console or just reboot computer, make sure you remove cd
The rest can be done by copying bootsect.lin from floppy to c:\ using windows xp and editing boot.ini to direct nt to boot linux.
Does that help sort it out?
Durand
Originally Posted by Durand Hicks
root@ttyp0[knoppix]# fdisk -l /dev/hdb
Disk /dev/hdb: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb2 * 2 14946 120045712+ f W95 Ext'd (LBA)
/dev/hdb5 2 12773 102591058+ 7 HPFS/NTFS
/dev/hdb6 12774 13985 9735358+ 83 Linux
/dev/hdb7 13986 14839 6859723+ b W95 FAT32
/dev/hdb8 14840 14946 859446 82 Linux swap
everything works till i get to this point:
root@ttyp0[etc]# mount -t vfat /dev/fd0 /mnt/fd0 -o rw
mount: mount point /mnt/fd0 does not exist
that is making a directory in /mnt caled fd0, that will solve the problem you have above.Code:mkdir /mnt/fd0
mount is basicly saying that you have no directory named fd0 in /mnt.
You could also do the comands below and get it working.
Code:mkdir /mnt/floppy[/code]Code:mount -t vfat /dev/fd0 /mnt/floppy
O'Erjan,
Thanks for the assist, I appreciate it.
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory
$16.29
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$12.90
A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G
$13.99
Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM
$13.25
A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L
$27.98
8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A
$12.00
32GB (4X8GB) DDR3 PC3-12800 1600 NON ECC LOW DENSITY MEMORY F3-12800CL10Q-32GBXL
$32.00
A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM
$287.96
Samsung 64GB 4DRx4 PC4-2400 LRDIMM DDR4-19200 ECC Load Reduced Server Memory RAM
$71.99