I'm sorry for being stupid but I know nothing about Knoppix or indeed linux at all. Can you tell me what "rawrite the corrsponding boot IMG to a floppy" means and how I actually do it?
Thank you for your patience!
In a previous posting, http://www.knoppix.net/forum/viewtopic.php?t=2021, I spoke about how to boot KNOPPIX without a CD or boot floppy by saving the the KNOPPIX compressed image file from a burned CD and the vmlinuz + miniboot.gz files from a rawritten boot floppy to M$ WINDOZE partition like hda1. This was only good on a machine that supports real DOS mode and VFAT = WIN95, WIN98 and sort of on WINME where you still needed to boot the rescue disk, ouch....
However, I've found the following more convenient, especially when don't have the security to change such things on the WINDOZE PC you're using.... This works well on any PC that boots a floppy, even WINME. Also, you do not have to deal with the M$ WINDOSE desktop icons or a M$ DOZE batch file. In this method you use the boot floppy to find the KNOPPIX compressed image file on a partition, say hda1, instead of the CD and boot from there!
Sorry, I think I need the following 2 disclaimers based on some weird replies I got on the above posting.
Word of Warning #1: Use this HOWTO at your own risk. I take no responsibility for any problems you incure while experimenting with this HOWTO. I make no guarantees, neither explicit nor implied as to any application you may use this HOWTO for.
Word of Warning #2: I have not tested this on any other partitions nor have I tested this on NTFS. So, if you want to experiment with those options, caveat emptor! Please note that this HOWTO is just "my 2 cents" and you get what you pay for....
Step0:
You still need to burn a KNOPPIX ISO to a CD and rawrite the corresponding boot IMG to a floppy.
Step1:
Boot your KNOPPIX CD normally.
Step2:
Mount hda1 = click the hda1 icon on the KNOPPIX desktop.
Step3:
Open a root shell = click the <K> kogwheel, then <KNOPPIX> and then <root shell>.
Step4:
Make hda1 read-write = issue the following command line in the root shell.
mount -o remount,rw /mnt/hda1
*or*
Step4:
Make hda1 read-write = right click the hda1 icon on the KNOPPIX desktop and then click <change read write mode>.
Step5:
Make a new directory on hda1 to hold the KNOPPIX file = issue the following command line in the root shell.
mkdir /mnt/hda1/knoppix
Step6:
Copy the KNOPPIX file to the new directory = issue the following command line in the root shell.
cp /mnt/cdrom/KNOPPIX/KNOPPIX /mnt/hda1/knoppix
Step7:
Wait 4-8 minutes, depending on how fast your CD drive is, for step6 to finish and shutdown KNOPPIX normally.
Step8:
Boot the PC with the boot floppy still in place, but without the CD. Now you won't need your CD ever again! The boot floppy is slow, which is not new unless you're used to booting with the CD only, but once the boot process switches to hda1 (not scd0 anymore), it goes faster than the CD.
What's nice about this approach is that you don't need to repartition anything, it still boots like KNOPPIX with all the autodetection and its still read only (its the same everytime you boot it, noone can mess it up running from a ramdisk). You don't get that from knx-hdinstall! Also running apps off hda1 is faster than doing so off the CD (unless, unlike me, you have an incredibly fast CD drive). This also helps me in when I upgrade to a new release on KNOPPIX, I don't have to burn 25 CDs and rawrite 25 boot disks for all my students anymore. All I'll do is burn 1 CD, delete /mnt/hda1/knoppix/KNOPPIX, copy the new /mnt/cdrom/KNOPPIX/KNOPPIX there and rawrite 25 new boot disks. What a time saver!
Enjoy!
Regards,
I'm sorry for being stupid but I know nothing about Knoppix or indeed linux at all. Can you tell me what "rawrite the corrsponding boot IMG to a floppy" means and how I actually do it?
Thank you for your patience!
actually, I have done this once on an XP computer, with no CD, and with no CD recorder availeble.
liuckily, winRAR can handle ISO files, and it extracted exerything from it out to the hard drive.
so I copied the compressed KNOPPIX file into c:\knoppix\ and used rawrite2.exe to rawrite the boot image to a boot floppy.
you can do the same from linux by mounting the iso image (mount -o loop knoppix.iso /mnt/something/).
also, if you want boot to take less time, you can make a new 2MB fat 16 partition, syslinux it, and copy the files from the boot image onto it (but not LDLINUX.SYS)
mounting is done like - mount -o loop -t vfat boot.img /mnt/something
then just add that partition to your LILO/GRUB menu, and - walla! a super-fast read-only knoppix!
Yes, SillyFly, you are most certainly correct!
However, I'm writing this howto from the following vantage points.
(1) Someone who doesn't have any linux tools available yet, ie: a M$ WINDOZE only environment. However, your WINRAR method is very interesting....
*and*
(2) Someone who doesn't want the standard lilo dual boot.
Regards,
rawrite.exe is a DOS utility program to make boot floppies for people whose CDROM drive does not boot. If you can boot your KNOPPIX CD already you don't need rawrite. However, you will need the boot disk when you're done copying KNOPPIX to hda1. The idea is to use the boot floppy to boot the KNOPPIX image from hda1 so you don't need the CD anymore.Originally Posted by peterla
OK, so if you can boot the CD without the boot floppy, you can make the boot floppy once you're booted-up in KNOPPIX. Open a shell and issue the following command line.
dd if=/mnt/cdrom/KNOPPIX/boot-en.img of=/dev/fd0
dd
copies images of disks (its like burning ISOs on CDs)
if
is the input file
of
is the output file
boot-en.img
is the English language boot disk image
/dev/fd0
is the diskette drive
Let me know if you need to use rawrite instead of dd.
Good Luck!
>>
Word of Warning #2: I have not tested this on any other partitions nor have I tested this on NTFS. So, if you want to experiment with those options, caveat emptor! Please note that this HOWTO is just "my 2 cents" and you get what you pay for....
<<
Remember the disclaimer? Well, here's an update.
I just tried this process on WINXP PC with NTFS. OK, so KNOPPIX would mount hda1 but it wouldn't let me make it rw. So, I rebooted into WINXP and created a c:\KNOPPIX folder that way. Now I use the WIN98 boot disk (see faster boot floppy) and it doesn't frind c:, does this mean that the WIN98 boot floppy doesn't recognize NTFS? How do I make a boot floppy that does? I looked in WINXP and see nothing about making rescue disks....
EDIT:
BTW, the kernel boot disk can't find it either....
TIA,
Yes, although "NTFS" was around when Win98 was there it isn't included in the OS (nor bootfloppies). But even if MS did include NTFS support back then, it wouldn't work, since WinNT4/XP/2000 all have slightly different NTFS filesystems.Originally Posted by A. Jorge Garcia
That's also why Linux is currently having trouble reading NTFS, too many new versions of the 'same' filesystem.
OK, I did all this with KNOPPIX V3.1 20030101. Now I need to come up with a new howto for upgrading to the lastest KNOPPIX! I just dowbloaded V3.2 20030516 and it looks great!
Regards,
OK, here goes nothing:
HOWTO: Upgrade Poor Man's Dual Boot
Step(0):
Download new ISO.
Burn new CD (with Easy CD Creator or cdrecord) and create new boot floppy (with rawrite or dd). You do not need a new boot floppy if you can boot the new CD without it. If you need a boot floppy to boot the CD, make sure you make a new kernel based boot floppy using boot.img - do not use the DOSbootfloppy. However, I strongly recommend using the faster DOSbootfloppy when you reboot, Step(8), take a look at http://www.knoppix.net/forum/viewtop...?p=12042#12042
Step(1):
Boot new CD with or without boot floppy as needed
Step(2):
mount hda1 (simply left click desktop icon for hda1)
make hda1 rw (simply right click desktop icon and click "change to rw..." and answer "yes" only if you have a VFAT hdd)
Step(3):
open a root shell (click the K cogwheel, click knoppix, click root shell)
execute steps (4)-(7) in this root shell
you could use an ordinary shell for these steps, except for step(5)
Step(4):
mkdir temp
Step(5):
mount /cdrom/KNOPPIX/boot.img temp -o loop
Step(6):
cp temp/vmlinuz /mnt/hda1/KNOPPIX
cp temp/miniroot.gz /mnt/hda1/KNOPPIX
Step(7):
cp /cdrom/KNOPPIX/KNOPPIX /mnt/hda1/KNOPPIX
Step(8)
Now reboot with your choice of kernel boot disk or the faster DOSbootdisk.
You don't need the CD anymore!
NOTE: if you created your own boot disk, then you can skip step(5) and make Step(6)
cp /mnt/floppy/vmlinuz /mnt/hda1/KNOPPIX
cp /mnt/floppy/miniroot.gz /mnt/hda1/KNOPPIX
as in the original installation
QUESTION: In Step(5) I mount boot.img to extract vmlinuz and miniroot.gz without having the rawrite or dd. Can I do this with the ISO to extract /KNOPPIX/KNOPPIX without having to burn a new CD? If I were to mount the large KNOPPIX compressed image file this way, do I need lots of extra RAM?
Enjoy!
OOPS, you can skip Step(4) mkdir temp in your home dir and use tmp which is already there....
Regards,
IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED
$99.99
IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD
$399.99
$16000.00
IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server
$209.98
IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server
$191.99
IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES
$26.97
IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs
$58.52
$100.00
IBM Power S822 8284-22A 2.5" 12-Bay 64GB 2X 00ND478 2X 00E2865 *READ*
$599.99
1U IBM x3550 M5 4 Bay SFF SAS3 Server 2x E5-2683 V3 28 Core 128GB DDR4 2x Tray
$318.00