Re: How to boot Knoppix 4.02 (cd or dvd data) from a USB don
Quote:
Originally Posted by ruymbeke
Quote:
Originally Posted by kanat
... So will you be please to tell me how to boot from CD (i did default boot of Knoppix, everything OK) then switch to usb memory stick (some kind of chroot). I want that Knoppix will release /cdrom, so i will be able to umount /cdrom and mount other CD (for example to burn or move a multivolume archive to some HDDs)... kanat.
...
3) boot from a cd: make a bootable cd with grub or isolinux and create/update the config files to match the path of your boot files
4) boot from usb, look in here:
http://www.knoppix.net/forum/viewtop...?p=93758#93758 (but this doesn't work for you now)
Hope this helps, Gilles
My system has no floppy at all. So i will try to master my own bootable CD. I like Knoppix have a lot of cheat-codes that helps to avoid changing something in CD. So is there a big difference between hdd and usb-hdd from point of view of Knoppix loader?
(Never try to say: "knoppix tohd=/dev/hda1" and next time boot via "knoppix fromhd=/dev/hda1", it will be great if a magic spells like:
knoppix tohd=/dev/uba1
then
knoppix fromhd=/dev/uba1 will solve my problem with releasing /cdrom. )
If possible will try simplest way: append 1Gb RAM to system and say "knoppix toram".
Re: How to boot Knoppix 4.02 (cd or dvd data) from a USB don
Quote:
Originally Posted by kanat
...My system has no floppy at all. So i will try to master my own bootable CD...
Why don't you like the hdd boot ? Maybe because you don't want to install nothing on a foreing computer.
Anyway, without floppy and without bootable usb device, you will need to make your own bootable CD.
To make it simple, I would suggest you to use a (mini) CD to boot from the bios which will run isolinux, which will then load and run grub (better bootloader with command line access, very usefull for debug) and finally load the kernel + ramdisk. Once the kernel is running it will recognize your usb disk and will load knoppix from your USB device (and not from the cd) which will allow you to use the cdrom for other tasks as CD burning. Dos this sounds reasonnable ?
To do that you will still need grub.exe (which is also a kernel by itself), to be loaded by isolinux using these line in the isolinux.cfg file:
label grub.exe
kernel grub.exe
my minirt_reiser.gz, to have the proper linuxrc script to boot from the iso being on your USB drive
plus the linux kernel and the correct grub.lst on the cd.
Hope this helps, Gilles
Re: How to boot Knoppix 4.02 (cd or dvd data) from a USB don
Gilles,
thank you yet again for your work - I now have Knoppix 4.02 in the GRUB menu on my USB dongle, and it boots flawlessly. I can boot into Knoppix 3.7 or 4.02 (should I wish to).
I think I'm using a slightly different technique to your stadard technique - it all works out in the end 'though.
Essentially, I used Knoppix booted from CD to format the USB thumb drive, then partition it into three partitions - a FAT boot partition, a second FAT partition for exchanging data with Windows systems, and an ext2 partition to use as a writeable drive when booted into Linux.
I used (IIRC) dd to transfer GRUB to the MBR/boot sector of the bootable FAT partition of the USB thumb drive, so I just plug the thumb drive into the laptop's USB port and power on straight into GRUB - no DOS required. I then use your customised kernel to find the ISO on an XP NTFS partition and everything boots nicely!
the only fly in the ointment is that XP doesn't discover the second FAT partition I created, even though it is perfectly visible under Knoppix. Never mind - it does most of what I want, and it is SO nice to boot the work laptop into a useful OS.
The next project is to partition a 1 GByte USB thumbdrive, make a FAT bootable partition on it, and put the ISO onto another partition so I don't even have to have the ISO on the work HD - then I can basically hijack any PC that can be booted from its USB port.
Many, many thanks again.
Semreh
Re: minirt_reiser.gz boot Knoppix 402 iso from Reiser partit
Quote:
Originally Posted by ruymbeke
Hello,
Please find below a link allowing to boot Knoppix 4.02 from the iso file being also on a reiser partition:
http://s94002264.onlinehome.us/grub/kno402r.zip
PS, the same minirt_reiser.gz file can still be used to boot the iso from ntfs, fat16/32, ext2/3 or usb
Enjoy and please give me some feedback,
Cheers, Gilles
Gilles,
further to my last message, I'm using the above. This ain't useful feedback, as I'm not using reiser, but I can confirm it (still) works with the ISO being on an NTFS partition.
Thanks,
semreh
Re: How to boot Knoppix 4.02 (cd or dvd data) from a USB don
Quote:
Originally Posted by ruymbeke
Quote:
Originally Posted by kanat
...My system has no floppy at all. So i will try to master my own bootable CD...
Why don't you like the hdd boot ? Maybe because you don't want to install nothing on a foreing computer.
...
Hope this helps, Gilles
Thanks, Gilles.
I did very simple thing and it did the desired effect.
0) format my 2Gb usb bar in vfat (FAT32), Insert Knoppix 3.9 LiveCD.
1) boot knoppix tohd=/dev/uba1
Knoppix booted from CD, asks me to be patient and start copy /knoppix directory to /dev/uba1 (my usb bar), it takes a long time cause of speed ~1Mb/sec.
After this system booted and was in a shape i have expected (/dev/uba1 mounted on /cdrom and i was able to eject knoppix CD, insert another one and see the new CD on /mnt/auto/cdrom) so everything works great.
1a) I have boot again Win XP and copy previously saved configs.tbz and knoppix.sh to root of usb bar.
and finally insert again Knoppix 3.9 LiveCD
2) boot knoppix fromhd=/dev/uba1 myconfig=/dev/uba1
and it works as expected.
So maybe this info is obvious for many users of Knoppix but it is proven way if one has no BIOS able to boot from usb, has no floppy on system, not enouph RAM to copy CD to, and wants to be able to burn info on the only CD-drive on system.
This way seems to be better becouse you need only official Knoppix LiveCD and 1Gb usb bar (that is much cheaper than 1Gb of RAM too)
Hope i did usefull experiment :)
---
kanat.
PS: Now i am writing from Knoppix booted this way (using Konqueror). ("Knoppix - from zero to linux in 5 minutes" ... indeed so)