It's already in the docs section. Nice to see you figured it out on your own though.
I don't know if this have been bought up before but in our LUG we were discussing a way to install KNOPPIX, in such as easy way that my mother could find out how to do it.
By looking at the miniroot.gz on the boot.img, we found linuxrc (placed in the root) was looking at all drives for a subdir called /KNOPPIX/
The normal behavior is that it is found on the cdrom, but it could also be on /dev/hda1.
You must have vfat or ext2 on your harddrive:
1. Boot up in Microsoft Windows
2. Open "My Computer"
3. Open cdrom "KNOPPIX"
4. Click right mouse button on subdir KNOPPIX and choose "copy"
5. Click back to "My Computer"
6. Click right mouse button on C: and choose "insert"
7. Make a boot floppy disk and keep the floppy in drive
8. Eject cdrom and reboot
I have a page here about it with pictures (in danish, sorry):
http://tyge.sslug.dk/knoppix/hdsimpel/
It's already in the docs section. Nice to see you figured it out on your own though.
I went one step further using lilo and don't need the floppy. Was tamped to try to put it on NTFS(with proper changes to miniroot.gz) but being occupied now building a custom kernel.
BTW, booting in this way, hda1(c:\) will become read only. I changed the code in linuxrc to make it read write.
I'm curious, what exactly is the point of installing this way? I found that installing knoppix with hd-install is mind numbingly simple. Much simpler in my opinion than even installing windows on new machine. The only remotely complicated section is the formatting of the partitions, but that's realy NOT hard if you know what you are doing OR have even remotely descent directions.
For me, because I use a notebook which only has a 10G harddisk. HD install means seperate partition and the size is much larger(if I am not mistaken, the compressed CD would be expanded to full size).
Using this approach, I just put a 700M file on my VFAT(or may be NTFS) and can switch to a newer version by replacing this single file. Should I need the space(when I am in window), I just delete it.
BTW, you find it simpler than installing windows is that installing KNOPPIX on harddisk is technically 'clone' a system onto an existing machine which many corporation does the same in windows, which is much easier than a fresh install.
That may be one way out of my portable that does not have floppy but can you not use lilo ... can you start up winxp and boot to a dos command batch and then start linux from there ... or if you must lilo, how can you set it up under winxp and dual boot to a /knoppix under windows.Originally Posted by garyng
Further how do you change the code in linuxrc to deal with the rw issues? (I run winxp with fat32 and not ntfs and perhaps easier choice).
Thanks for any advice first.
Well, my machine Dell Inspiron 2500 notebook comes with ME as stocked OS so I cannot boot to DOS and use loadlin, that is the reason I have to use LILO. I have documented my steps to trio boot XP/ME/KNOPPIX under the HDD install forum. You may try to search there. It is not very difficult but you just have to be careful. The first time I did it, I screw up the MBR and need to reinstall everything.
As for changes to linuxrc, it is done this way :
1. get into the boot.img and extract the vmlinuz and miniroot.gz file(there is a FAQ on this site under DOC) and put them on your c:\(or /dev/hda1)
2. gzip -d miniroot.gz
3. mount through loopback driver to the miniroot file(it is effectively a EXT2 system on a file)
4. modify the linuxrc script file and change the line that mount the device(cd-rom in the script, easy to find if you have some scripting experience) from "ro" to "rw"
5. gzip miniroot.gz
now setup lilo as normal
"...¿3. mount through loopback driver to the miniroot file(it is effectively a EXT2 system on a file)... ?"
exactly how please?
thanks
************************************************** ********
DOS with winxp and winme (to use loadlin from HD)
If win is installed over a win98 partition then it is possible to boot into winxp or DOS at boot time
boot.ini example
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Micro soft Windows XP Professional" /fastdetect
C:\="C:\ Win98 DOS"
There is a patch to apply winme in order to be able booting into DOS
http://www.geocities.com/mfd4life_2000/
autoanswerOriginally Posted by oscar
| 56: # cp /mnt/anyfile/miniroot.gz /tmp
| 57: # gzip -d /tmp/miniroot.gz
| 58: # mount -t ext2 -o loop /tmp/miniroot.img /mounting_point
| 60:
| 61:
| 62:
| 63:
| 64:after the edition of linuxrc
| 66:
| 67: # umount /mounting_point* * * * * * * *-> umounts miniroot
| 68: # gzip /tmp/miniroot.img * * * * * -> recompresses miniroot
Does anyone know if this works with a NTFS filesystem? I followed the HdBasedHowTo instructions but the boot floppy can't find the c:\knoppix\knoppix file and boots to a minimal command prompt. Anybody have any suggestions on how to fix this problem? If I use the cd to boot everything works great.Originally Posted by Stephen
One more small question, if you use a floppy boot disk are you still able to load or save your configuration to a different floppy?
ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard
$84.99
Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3
$23.99
Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard
$54.99
Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)
$59.99
Gigabyte GA-Q170M-D3H-GSM LGA1151 DDR4 Desktop Motherboard with I/O Plate
$49.99
ASUS H87I-PLUS, LGA 1150, Intel Motherboard w/ IO Shield
$39.00
MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard
$107.30
MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard
$67.99
ASRock TRX40 Creator DDR4 Socket sTRX4 Motherboard With I/O Shield Tested
$199.99
Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Motherboard w/ I/O Shield
$59.99