-
Re: Whax support?
Quote:
Originally Posted by doobs
Hey Gilles, Any chance for Whax 3.0 (was Whoppix) support? Thanks! Jeff
Hi doobs,
Are you asking for the whax-3.0-200705.iso ?
Do you know which kernel version is used and from which knoppix version Whax has been remastered ?
I will have a look, but I have to download it first ...
Best Regards, Gilles
-
New Knoppix 4.02CD
Gilles
Just a quick note to let you know I got the 402.zip file from your site, and the new CD from bit torrent and they seem to be working like a charm! Thanks for all your hard work, it is much appreciated
Stephen
-
Re: Whax support?
Quote:
Originally Posted by ruymbeke
Quote:
Originally Posted by doobs
Hey Gilles, Any chance for Whax 3.0 (was Whoppix) support? Thanks! Jeff
Hi doobs,
Are you asking for the whax-3.0-200705.iso ?
Do you know which kernel version is used and from which knoppix version Whax has been remastered ?
I will have a look, but I have to download it first ...
Best Regards, Gilles
I downloaded and tried Whax, but sorry, it is now based on SLAX and not Knoppix anymore. The boot mechanism looks like now quite different from Knoppix and I have no experience with Slax. BTW, as far as know, Whax is still using an old and buggy version of the UnionFS, so be carefull... Best Regards, Gilles
-
HowTo boot Knoppix 4.02/5.01 cd/dvd ISO from a USB dongle
How to boot Knoppix 4.02/5.01 (cd or dvd data) from a USB dongle:
============================================
I will describe below one more time how to format a fat 16 partition on a USB dongle and make it DOS bootable
and automatically launch a dos version of grub which will start knoppix from the iso cd image
(+kernel +inird files) all located on the USB dongle:
1) Download: http://s94002264.onlinehome.us/grub/grubh.zip
2) Extract the directory grube.zip\Grube\Root_Of_USB
3) Launch the program HPUSBFW.EXE (under XP only, sorry), and follow the instructions
and when prompted, point to the system files included in the Root_Of_USB directory
4) copy the rest of the files of Root_Of_USB into the root of your dongle (but do NOT overwrite the io.sys)
5) copy the files required to boot linux: kernel, ramdisk and iso (linux, minirt_ntfs.gz, knoppix.iso)
(you can download the various customized version of the INITRD_NTFS.GZ ramdisk required
to boot from an ISO file (even if the filesystem is not ntfs but a fat or ext2/3) here:
http://s94002264.onlinehome.us/grub/grube.zip for knoppix 3.6, 3.7 and 3.81
http://s94002264.onlinehome.us/grub/knoppix382.zip for knoppix 3.82 and 3.9 (same files)
http://s94002264.onlinehome.us/grub/kno402u.zip for knoppix 4.02
6) modify the menu.lst file to match your need
(path to the kernel and initrd file + kernel boot options, cf grub and knppix doc.
But be very careful, the path is case sensitive !!!)
7) setup your bios to boot from usb, reboot and have fun...
Hope this will help. Please give me some feedback.
Cheers, Gilles
Edit: I have put together a new zip with everything you need to format a USB dongle (from XP)
and make it boot with Knoppix 4.02 iso: http://s94002264.onlinehome.us/grub/usb_dgle3.zip
It includes 4 boot options using grub or lilo to boot from a usb dongle as /dev/sda1 or /dev/sdb1
and an improved linuxrc script which should help in case of a wrong BOOTFROM kernel cheatcode.
Edit: I have updated the zip file with the latest improvements:
http://s94002264.onlinehome.us/grub/usb_dgle4.zip
Boot from fat, ntfs & reiser, auto search for the iso, custom & dynamic host and the usb2 patch.
Edit: I have updated the zip file with two bug fix (slow samba network and ext2 persistent home):
http://s94002264.onlinehome.us/grub/usb_dgle6.zip
http://s94002264.onlinehome.us/grub/grubh.zip
Edit: I have updated the zip files for Knoppix 5.01 and the ext2 bug fix:
http://s94002264.onlinehome.us/grub/usb_dgle7.zip
http://s94002264.onlinehome.us/grub/grubi.zip
As a recall, the custom (fixed or dynamic) hostname syntax is:
"hostname=mycustomname" or
"hostname=auto-clock" (date+time) or
"hostname=auto-mac" (eth0 mac address)
Please feedbacks are always welcomed. GvR, June 7nd 2006
-
Re: How to boot Knoppix 4.02 (cd or dvd data) from a USB don
Quote:
Originally Posted by ruymbeke
How to boot Knoppix 4.02 (cd or dvd data) from a USB dongle:....
Gilles,
This looks like good information that should be of interest to many people (I regret that my USB sticks are too small for Knoppix to fit or I would try it myself, but my largest is 256meg). Would you consider putting it in the wiki where it might be easy to find in the future by others looking for it?
There is already an article titled "USB Based FAQ" that might be a good place, although the article isn't really a FAQ. Although it is in the Pages in Progress section, it doesn't really seem to be in progress either; it hasn't been updated since April except by wiki spammers and those of us who delete the spam.. Of course, if you would rather start a fresh article or start a fresh one and then look over the old article and see if any information there merits inclusion into your article, that would be welcome too.
If you edit the existing article we'll move it out of the partial section; if you create a new article and include any info you determine suitable from the old article then I expect it should be included in the main pages articles (this is still in the process of being reorganized in a more orderlt fashion) and we could remove the old article.
Harry
-
Assistance needed for booting Knoppix from a USB dongle
[quote="ruymbeke"]How to boot Knoppix 4.02 (cd or dvd data) from a USB dongle:
=========================================
I will describe below one more time how to format a fat 16 partition on a USB dongle and make it DOS bootable
---------------------------------------------------------------------
I get an "error 16" file missing, report in my attempt to boot from the USB dongle.
I think my problem may be with the menu.1st file. I believe this file has to be edited to point to the files on the dongle but I am a bit of a novice at this and my editing of the file doesn't appear to allow booting Knoppix from the USB dongle.
Could someone paste their edited, menu.1st file, in a message here so I can try it out.
I am using Knoppix 3.9, so I downloaded the grub/knoppix382.zip file.
My USB dongle is good because I have had Damn Small Linux, booting from it.
Thanks for any help you can provide!
-
Re: Assistance needed for booting Knoppix from a USB dongle
Quote:
Originally Posted by ssfc72
... I think my problem may be with the menu.1st file....
* The grub config file name is "menu.lst" (with lowercase L and NOT the number 1).
* Be carefull with the path and filenames. Linux and Grub are case sensitive !
* Remove any other USB dongle/scsi/sata drives you may have on the system or edit the kernel cheatcodes accordingly.
* Remove or rename any other /KNOPPIX directory you may have on any other partition of any drive. (An other accessible /KNOPPIX/KNOPPIX file may fool the linuxrc boot script which will try to boot from your hdd instead of booting from your USB dongle)
* Could you please try Knoppix 402 with the following menu.lst (since previous versions of knoppix may have use other device mapping for USB devices)
title Knoppix 4.02 ISO from USB sda1
kernel (hd0,0)/boot/knoppix.402/linux ramdisk_size=100000 init=/etc/init bootfrom=/dev/sda1/boot/knoppix.402/*.iso lang=us noprompt apm=power-off nomce ### all the kernel options on a single line ###
initrd (hd0,0)/boot/knoppix.402/minirt_ntfs.gz
boot
Let me know if it works now. Best Regards,
Gilles
-
HD NTFS Boot not working...
I tried following all the steps and I get this:
Kernel panic - not syncinig: VFS: Unable to mount root fs on unknow-block(1,3)
Any clues on what's wrong?
I only have two HD, both are NTFS. I'm using kno402.zip merged on grube.zip. I placed the cd iso on knoppix.402 (along with linux and minirt_ntfs.gz)
this are the lines that are supposed to boot the iso
kernel (hd0,0)/boot/knoppix.402/linux ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 nomce quiet bootfrom=/dev/hda1/boot/knoppix.402/*.iso ramdisk=32768 noprompt dma screen=1024x768
initrd (hd0,0)/boot/knoppix.402/minirt_ntfs.gz
The CD boots ok...
Thanks for any help...
tisazalay
-
Re: HD NTFS Boot not working...
Quote:
Originally Posted by tisazalay
I tried following all the steps and I get this:
Kernel panic - not syncinig: VFS: Unable to mount root fs on unknow-block(1,3)
Any clues on what's wrong? I only have two HD, both are NTFS. I'm using kno402.zip merged on grube.zip. I placed the cd iso on knoppix.402 (along with linux and minirt_ntfs.gz)
this are the lines that are supposed to boot the iso
kernel (hd0,0)/boot/knoppix.402/linux ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 nomce quiet bootfrom=/dev/hda1/boot/knoppix.402/*.iso ramdisk=32768 noprompt dma screen=1024x768
initrd (hd0,0)/boot/knoppix.402/minirt_ntfs.gz
The CD boots ok... Thanks for any help... tisazalay
I suppose this is about to boot knoppix from a ntfs partition and not from a usb dongle.
When you boot knoppix from the cd/dvd what is device that knoppix will assign to the partition where your iso/linux/minirt_ntfs.gz files are located ? If not /dev/hda1/ you will need to update the bootfrom kernel cheatcode accordingly.
Best Regards, Gilles
-
Re: HD NTFS Boot not working...
Quote:
Originally Posted by ruymbeke
I suppose this is about to boot knoppix from a ntfs partition and not from a usb dongle.
When you boot knoppix from the cd/dvd what is device that knoppix will assign to the partition where your iso/linux/minirt_ntfs.gz files are located ? If not /dev/hda1/ you will need to update the bootfrom kernel cheatcode accordingly.
Best Regards, Gilles
Thanks, I don't know what went wrong, but I managed to fix everything by copyng again the menu.lst you provided and the minirt_ntfs.gz, the latter I guess had errors and that was the cause, when replaced with a fresh version everything went fine... (I think a power failure caused some bytes to appear that souldn't)...
Thanks for your work on kno402.zip, It does the work great!
tisazalay
-
Re: Assistance needed for booting Knoppix from a USB dongle
Quote:
Originally Posted by ruymbeke
... I think my problem may be with the menu.1st file....
* The grub config file name is "menu.lst" (with lowercase L and NOT the number 1).
* Be carefull with the path and filenames. Linux and Grub are case sensitive !
* Remove any other USB dongle/scsi/sata drives you may have on the system or edit the kernel cheatcodes accordingly.
* Remove or rename any other /KNOPPIX directory you may have on any other partition of any drive. (An other accessible /KNOPPIX/KNOPPIX file may fool the linuxrc boot script which will try to boot from your hdd instead of booting from your USB dongle)
* Could you please try Knoppix 402 with the following menu.lst (since previous versions of knoppix may have use other device mapping for USB devices)
---------------------------------------------------------------------
Thanks for your help, Gilles!
I am still getting, "error 16" "file not found"
I got the Knoppix 402 and replaced all the files on the USB key and I also got the Knoppix402.zip file and swapped those files as well.
The menu.lst file from the zip file had a bunch of different Title paragraphs for different configurations, so I deleted those out and pasted in the Title example you provided.
I believe Knoppix refers to my USB key as a uda1 device and not sda1. Would this be causing a problem?
Bill
-
Re: Assistance needed for booting Knoppix from a USB dongle
Quote:
Originally Posted by ssfc72
... I am still getting, "error 16" "file not found" ...
I got the Knoppix 402 and replaced all the files on the USB key and I also got the Knoppix402.zip file ...
I believe Knoppix refers to my USB key as a uda1 device and not sda1. Would this be causing a problem? Bill
On my system (Thinkpad T43) Knoppix 4.0.2 uses /dev/sda2 device as for my usb dongle. /dev/sda1 being used by the hdd (the T43 uses a sata chipset with a sata/pata bridge) Previous (in fact intermediate) versions of knoppix were using /dev/uda devices. So I would still use /dev/sda1 in most cases. The best way to know, is to boot from the cd/dvd and check from Knoppix running which device is associated with your USB dongle and use that same device in the kernel command line of your menu.lst. Hope this helps. Gilles
-
Re: Assistance needed for booting Knoppix from a USB dongle
Quote:
Originally Posted by ruymbeke
I am still getting, "error 16" "file not found" ...
I got the Knoppix 402 and replaced all the files on the USB key and I also got the Knoppix402.zip file ...
I believe Knoppix refers to my USB key as a uda1 device and not sda1. Would this be causing a problem? Bill
------------------------------------------------------------------------------------
On my system (Thinkpad T43) Knoppix 4.0.2 uses /dev/sda2 device as for my usb dongle. /dev/sda1 being used by the hdd (the T43 uses a sata chipset with a sata/pata bridge) Previous (in fact intermediate) versions of knoppix were using /dev/uda devices. So I would still use /dev/sda1 in most cases. The best way to know, is to boot from the cd/dvd and check from Knoppix running which device is associated with your USB dongle and use that same device in the kernel command line of your menu.lst. Hope this helps. Gilles[/quote]
------------------------------------------------------------------------------------
Got it! Thanks Gilles!
It turns out my trouble was I had copied all the files and directories as they were arranged on the CD to the USB dongle, in the same layout.
Once I created the "knoppix.402" directory on the dongle and placed the proper files in the directory, then I got Knoppix to boot from my USB dongle.:-)
-
minirt_reiser.gz boot Knoppix 402 iso from Reiser partition
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
-
Re: How to boot Knoppix 4.02 (cd or dvd data) from a USB don
Quote:
Originally Posted by Harry Kuhman
Quote:
Originally Posted by ruymbeke
This looks like good information that should be of interest to many people...
Would you consider putting it in the wiki where it might be easy to find in the future by others looking for it?
Harry
I am very busy at work these days, but YES asap...
Thank you for the suggestion.
Best Regards, Gilles
PS: Just as a curiosity, why don't you like Knoppix booting from the hdd (even from iso) http://www.knoppix.net/forum/viewtop...?p=94439#94439
"installing the disc to disk... people ... think that is a good idea (I'm not one of them)"
and why is it called "poor man install" which is kind of pejorative ?
Most of my computers are multi boot with OpenBSD and various Linux distributions (Mandriva, Debian, Suse, ...)
and sadly still Windows for some time...
But if not all, most OS installs take a significant amount of time and
hdd partitionning is always at risk, especially if you are not very experienced.
I do not know any faster and safer way to install and boot Linux on a computer than this iso setup with Knoppix.
I really like the speed of the hdd and the simplicity of the install (and removal).
Hope you will get a 1GB USB dongle soon to try this setup.
FYI, I am pretty happy with my very fast and ultra small PQI 1GB Intelligent Stick Pro 170X USB dongle:
http://cgi.ebay.com/PQI-1GB-Intellig...mZ8711319911QQ
Under XP I get a 15MB/S sustained write and 25MB/S read.
For some reasons it is much slower with Knoppix but still ok. Somebody have an explanation and/or a solution ?
2 of these devices fit in a credit card holder inside my wallet
and I just love this concept of travelling without a laptop, without a large cd or dvd,
just my usb dongle always with me ...
(I am not, do not know the seller and have no interest in PQI, besides the fact that I really like this product) :wink:
-
Re: How to boot Knoppix 4.02 (cd or dvd data) from a USB don
Quote:
Originally Posted by ruymbeke
PS: Just as a curiosity, why don't you like Knoppix booting from the hdd (even from iso)
I'm not all that opposed to booting from the ISO, and booting from an ISO on USB flash device strikes me as a fine idea. I do suspect (reinforced from what I've seen here) that many people who set about to boot from the ISO think the system will be something it is not, and many if not most will use it as a gateway drug to a full Knoppix install. Now if people understand what they are getting into and are making an informed choice about trying to "install" Knoppix, that's fine with me. But I think the new kids need to be exposed to both sides of the discussion and be aware of the issues they may face when installing Knoppix instead of a distro that is actually intended and supported for hard disk install. I come to that conclusion from about 3 years of watching these forums and seeing the same problems over and over after some new user installs Knoppix, clearly before reading about others having the same problems they quickly have.
One thing I find particularly sad is that three years ago the Debian install was much more technical than it is now. People came up with the Knoppix install as a way around ther problems of the Debian installer, although they never bothered to fix some minor things (like getting file permissions correct). These may have been trival to the script writers, but cause problems repeatedly for new users who attempt to install Knoppix. In that time the Debian installer has improved greatly. Yet many peope who try the Knoppix Live CD quickly rush to install it without knowing the issues and without ever trying a Debian install of a current release. This makes no sense to me and I don't believe that it should be encouraged.
Actually, ISO booting does have it's place. It is well used in testing new remasters. 3 years ago a poor man's install made sense too, as long as one was clear about why it was done and the limitations.. The reason for this was to get Knoppix to boot and run quickly but to allow it to fit on some of the older disks of the time; many of which were too small to hold an uncompresses Knoppix system. But disk space continues to grow and it's been ages since I've seen anyone ask how they can put knoppix on their old 1.2 gig hard disk. Techniques like this should be retained in the documentation, but I feel users, particularly new users, should be encouraged to use Knoppix as what it is, a Live CD or DVD, and cautioned about the issues that come up when one tries to get this mix of different incompatable Debian distributions to "install" to a harddisk where they will likely then try to install something additional or update their current software. I favor suggesting that the new user try to install Derbian. I have heard that Kantonix avoids some of the mixed distro issues that Knoppix is well known to have, so I do understand when people recommend it over Knoppix for this purpose. But I've never installed Kantonix myself and so am not going to be advising others to do so, and I really don't see a good reason to do so over a modern Debian Install (although I do expect that in some special cases these reasons do exist).
-
Re: How to boot Knoppix 4.02 (cd or dvd data) from a USB don
Quote:
Originally Posted by ruymbeke
How to boot Knoppix 4.02 (cd or dvd data) from a USB dongle:
=========================================
...
7) setup your bios to boot from usb, reboot and have fun...
Hope this will help. Please give me some feedback.
Cheers, Gilles
Hi, this is great, i prepared to do all steps (even buy 2Gb usb memory stick) and just today reveal that BIOS of my laptop not support booting from usb-hdd and vendor do not know when aproppriate upgrade of BIOS will be ready :-(
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).
Now i using Knoppix 3.9 but downloading 4.02 is not a problem.
Knoppix mounts my device as /mnt/uba and works great, smaller one (128 Mb) mounts as /mnt/uba1.
---
kanat.
-
Re: How to boot Knoppix 4.02 (cd or dvd data) from a USB don
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.
I never tried to boot from the cd and then chroot to an other media.
If I understand you right, you would need to mount first your usb device, then mount the knoppix iso image as a virtual cdrom, then mount the knoppix compressed file system KNOPPIX and then using the unionfs substitute the booting file system by the one on the new media and finally release the old booting media so you can use the it for something else as burning a cd.
Well, this should be possible but seems very complicated to me and I would like to suggest you an other way. As I understand your problem is really that your bios cannot boot from your usb dongle but it boots from the hdd, cdrom and probably from a floppy as well. Once the bootloader is running you will be able to load the kernel and ramdisk and then knoppix will read it's data (ISO or cd image file) from what ever media you like. You only need to decide which media you would like to boot from and install a boot loader on it and copy the kernel ramdisk and iso file somewhere but not necessarily on the same boot media (each one of these boot file can be located on a different media). The trick is that if you want to boot from the iso file, you will need to use my modified minirt ramdisk file what ever you boot from a ntfs/reiser partition or not. I had to modify the linuxrc script inside the ramdisk to have the dual loop/cloop (ISO and KNOPPIX) working properly and I also updated/added ntfs and reiserfs support (initrd_reiser.gz, http://s94002264.onlinehome.us/grub/kno402r.zip ). So as a summary please find below some options I would like to suggest you to try:
1) boot from the hdd:
- 1a) lilo or grub already used as a boot loader: just update your lilo.conf and run lilo or update your menu.lst for grub
- 1b) XP installed as your main and only OS: add a line to your boot.ini to launch grub as described in this thread or in here: http://www.knoppix.net/wiki/Win_Partition
2) boot from a floppy: just install grub on your floppy disk and create a menu.lst with the correct path to the boot files located on your hdd as an example
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
-
i fallowed your instructions then go this...
ok i i found this thanks to guilles buit after i followed the instructions, i got this error..:
C:\>goto LNX
C:\>grub.exe --config-file=(hd0,0)/menu.lst
SORRY! currently supported dos versions are: MS-DOS 3.30 and later; FreeDOS kernal build 2032 and later
Programs such as TSRs and device drivers may also change the bios interrrupt vector table. make sure thoes programs are not running then try again.
C:\>
cannot find win.COM, unable to continue loading windows
C:\>
first thought was to update dos. so i did to 6.2. but same result. im using a sandisk 1 gb cruz micro so i can fit the originaly iso on there. i checked the menu.lst file and edited it so that it says sdb1 instead of sda1 because when koppix loads from the cd thats how it reconized the usb key. if any one has any suggestions i would appreceate it.
-
Re: i fallowed your instructions then go this...
Quote:
Originally Posted by scubanator87
ok i i found this thanks to guilles buit after i followed the instructions, i got this error..:
C:\>goto LNX
C:\>grub.exe --config-file=(hd0,0)/menu.lst
SORRY! currently supported dos versions are: MS-DOS 3.30 and later; FreeDOS kernal build 2032 and later
Programs such as TSRs and device drivers may also change the bios interrrupt vector table. make sure thoes programs are not running then try again...
It looks like that you did not follow my instructions. You did not (re)formatted your disk flash memory with my setup or you have added/modified some other things in the boot process (config.sys or autoexec.bat). You cannot have emm386.exe or himem.sys or any other driver loaded when calling grub.exe. An easy way to check is to press F8 at the boot time ans ask DOS to boot step by step and verify that nothing is loaded by answering NO to every questions during the boot. I am sorry, but this a restriction to the DOS port of GRUB.EXE.
Hope this helps, best regards, Gilles
-
Pavillion 304w
Hello all
I am trying to install knoppix 4.02 cd on a pavillion 304w.
stock pavillions as you all know, come with a restore partition hd0,0 - drive D: and hd0,1 is the actual windows xp ntfs, drive C:
followed the instructions provided at the wiki, followed this thread in case I was missing something but when selecting grub at the bootloader I get this msgs:
Booting ' Default :/boot/grub/menu.lst (GvR Oct 6th 2004)
find root/boot/grub/menu.lst
Error 16 :File not found
and
Booting ' Fallback:/menu.1st
Find root/menu.1st
Error 16: File not found
hit any key to continue
windows boots fine when selected on the boot menu.
we have:
- renamed the directories from BOOT to boot and GRUB to grub
- copied menu.lst from boot/grub/menu.lst to c:\menu.list
no luck. grub still cant find the boot menu.
looking at grldr hex dump I see this fragment:
(hd0,0)/boot/grub/menu.lst
is grldr hard wired to look for menu.list (and support stuff) from the first partition only?
I may give it a try and hack it by making mods so it points to (hd0,1)/boot/grub/menu.lst any ideas?
a second question (and a silly one). again, please? what is the correct name of the directories? lowercase all? upper case all?
thanks in advance for any help.
-
Re: Pavillion 304w
Quote:
Originally Posted by kh7v7
... restore partition hd0,0 - drive D: and hd0,1 is the actual windows xp ntfs, drive C: ...
Try to use this grldr: http://s94002264.onlinehome.us/grub/grldr ,put your menu.lst in c:/ and all path names are lower case.
Hope this helps, Gilles
-
Re: Pavillion 304w
Quote:
Originally Posted by ruymbeke
thanks so much for your fast reply Guilles.
installed the new grldr at C:\ copied menu.lst to C:\ and booted.
the menu was not found.
copied the menu to hd(0,0) (drive d: )
rebooted and the menu was found
selected knoppix and got this...
Kernel (hd0,1)/boot/knoppix.402/linux ramdisk_size= 100000 init=/etc/init lang=us apm=power off vga=791 nomce quiet boot from=/dev/hda2/boot/knoppix.402/ *.iso noprompt dma screen=1024x768
Error 18: Inconsistant file system structure
copied c:\boot (holding everything inside the iso included) to d:\boot and made the changes needed to reflect this on menu.lst.
the system worked first try.
thanks a lot.
-
Re: Pavillion 304w
Quote:
Originally Posted by kh7v7
... Error 18: Inconsistant file system structure ...
I am glad you got it working. But if you do not want to have the big iso file in d (hd0,0), you may still keep it in c (hd0,1) and update your menu.lst accordingly. The ntfs linux kernel module handle properly the ntfs partitions (to read the iso) but grub uses a simplified/old code and sometimes cannot find and load the menu.lst, kernel & ramdisk. A solution to this is to move these files in an other (older) directory or into the root of the ntfs partition. This is usually enough to get it working. Grub is supposed to search for the menu.lst in all disk drives and partitions and in several directories /boot/grub, /grub and /. I don't understand why it doesn't work in your case.
Hope this helps, Gilles
-
Re: Pavillion 304w
Quote:
Originally Posted by ruymbeke
...A solution to this is to move these files in an other (older) directory or into the root of the ntfs partition. This is usually enough to get it working. Grub is supposed to search for the menu.lst in all disk drives and partitions and in several directories /boot/grub, /grub and /. I don't understand why it doesn't work in your case.
Hope this helps, Gilles
I will try that next Guilles. would be nice and then use the space at the fat32 in hd(0,0) for a permanent home...
again, thanks so much for the help
-
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)
-
Re: How to boot Knoppix 4.02 (cd or dvd data) from a USB don
alright since there has been much help in here i'll post my problem as well :-)
i've got a laptop with sata interface:
sda1 -> NTFS windows-root-partition
sda2 -> reiserfs, my linux root partition
sda3 -> fat32 partition filled with recovery stuff
sda4 -> swap partition
my problem... while booting grub i get the flashing cursor only stated earlier here.
i'll start off with my 2 config files:
boot.ini:
Code:
[boot loader]
timeout=8
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windoze" /fastdetect
c:\bootgrub="Linux 1"
c:\grldr="Linux 2"
menu.Lst: (the file does not have a capital L, just to distinguish between i and l :-)
Code:
color white/blue black/light-gray
default 0
timeout 1
gfxmenu (hd0,1)/boot/message
title Linux
kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 vga=0x314 selinux=0 xyz acpi_sleep=s3_bios,s3_mode splash=silent resume=/dev/sda4 showopts
initrd (hd0,1)/boot/initrd
title Windoze
root (hd0,0)
chainloader +1
title Failsafe
kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 showopts ide=nodma apm=off acpi=off vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3
initrd (hd0,1)/boot/initrd
title memtest86
kernel (hd0,1)/boot/memtest.bin
as you can see i already tried to use the bootgrub thing, with no difference. i have also copied bootgrub, grldr and the /boot folder to my FAT32 partition and changed C:\grldr and bootgrub to D:\ which is the fat32 partition (the last thing changed the error! i then get the hal.dll missing)
and yes, i have both the initrd and vmlinuz files in my C:\boot folder
any suggestions?
oh sorry i forgot.. this is winxp prof (yea i know xp sucks, but i heard some rumors about w2k and problem with centrino notebooks
-
Re: How to boot Knoppix 4.02 (cd or dvd data) from a USB don
Quote:
Originally Posted by jacksonon
...as you can see i already tried to use the bootgrub thing, with no difference. i have also copied bootgrub, grldr and the /boot folder to my FAT32 partition and changed C:\grldr and bootgrub to D:\ which is the fat32 partition (the last thing changed the error! i then get the hal.dll missing)
and yes, i have both the initrd and vmlinuz files in my C:\boot folder. any suggestions?
oh sorry i forgot.. this is winxp prof (yea i know xp sucks, but i heard some rumors about w2k and problem with centrino notebooks
I have this running on my T43 Thinkpad which is using a serial ata interface and a buggy sata/pata bridge to the pata hdd.
So there is no problem with centrino notebooks or sata interfaces but yes old version of grldr do not always work with 2k.
Please use one of the latest version from http://s94002264.onlinehome.us/grub/grldr
About your boot problem, you have to put the grldr file into the root of your XP partition which is the C drive as it was called at the time of the XP install and you cannot rename or move the grldr file. This is a limitation of the ntldr XP boot code. Now to boot knoppix from the iso on the hdd you will need to use the initrd_ntfs.gz or initrd_reiser.gz ramdisk (fat,ext,nfts+reiser support) instead of the initrd.gz ramdisk off the cd, cf: http://s94002264.onlinehome.us/grub/kno402.zip or http://s94002264.onlinehome.us/grub/kno402r.zip
Last thing, you will need to have the XP partition as the primary active partition (first boot loader code run from the bios).
Hope this helps, regards, Gilles
-
Re: How to boot Knoppix 4.02 (cd or dvd data) from a USB don
Quote:
Originally Posted by ruymbeke
I have this running on my T43 Thinkpad which is using a serial ata interface and a buggy sata/pata bridge to the pata hdd.
So there is no problem with centrino notebooks or sata interfaces but yes old version of grldr do not always work with 2k.
Please use one of the latest version from
http://s94002264.onlinehome.us/grub/grldr
done.
Quote:
About your boot problem, you have to put the grldr file into the root of your XP partition which is the C drive as it was called at the time of the XP install and you cannot rename or move the grldr file. This is a limitation of the ntldr XP boot code.
yep sure thing, done as well.hm.. cant find those initrd files on my dvd. i guess that's because i bought knoppix on a dvd inside a magazine. die /boot folder doesn't contain those files and the KNOPPIX folder only has KNOPPIX & KNOPPIX2 in it.. looks like some kind of image to me... are these files available online?
Quote:
Last thing, you will need to have the XP partition as the primary active partition (first boot loader code run from the bios).
Hope this helps, regards, Gilles
done too, sda1 is flagged as active
no difference so far :(
don't know if its important, but i took the original linux & initrd files from the reiser partition, which should be ok since i can boot the system using a cd (e.g. a suse install cd.. select install and then boot existing system). (alright i did'nt take the linux & initrd files sind that are only symlinks :-) but i took the files that were linked and renamed them..
-
Re: How to boot Knoppix 4.02 (cd or dvd data) from a USB don
Quote:
Originally Posted by jacksonon
hm.. cant find those initrd files on my dvd. i guess that's because i bought knoppix on a dvd inside a magazine. die /boot folder doesn't contain those files and the KNOPPIX folder only has KNOPPIX & KNOPPIX2 in it.. looks like some kind of image to me... are these files available online?
The http://s94002264.onlinehome.us/grub/kno402r.zip link is pointing to the initrd_reiser.gz ramdisk that you have to use to boot from the iso being on the hdd. You cannot use the initrd.gz ramdisk that you get off the cd/dvd. I had to modify/patch the original ramdisk to add support for ntfs and reiser and get the iso boot from hdd working. Best Regards, Gilles
-
Re: How to boot Knoppix 4.02 (cd or dvd data) from a USB don
OH MY GOD! i'm so stupid :D
i've been messing around with getting grub to work outside of my mbr.. and right now the ultimate solution came right into my mind without any warnings... its done in one simple command: grub-installer --no-floppy /dev/sda1 (or /dev/hda1 if you like :))
and thats it.. this shit works ^^ far easier then working with grub4ntldr or the "make mbr-image and mount that with ntldr"-stuff which actually doesnt work at all but some say it does :8)
-
Re: How to boot Knoppix 4.02 (cd or dvd data) from a USB don
in addition to my previous post (there's no edit button around here o_O) i have to say, that my solution left windows unbootable. i then found another solution which now works perfect:
i flagged my sda2 (reiser, mounted as / ) active and installed grub in its bootsector.
sda1 contains windoze and its default bootsector. now grub loads, and BOTH windoze and linux are bootable from it!
-
Re: How to boot Knoppix 4.02 (cd or dvd data) from a USB don
Hi people!
I tried to install Knoppix 4.0.2 to a USB dongle for six hours now - without any success. I hope anyone here could help me; that would be so great. Thanks a lot in advance! :wink:
Here are the facts:
- I formated the USB dongle under WinXP with the HPUSBFW.EXE and made it bootable with the files in the grub archive.
- I have deactivated booting from all drives except USB port (another computer than the one with WinXP)
- I copied the files to the USB dongle as described here (if I understood right) and have the following files now on it:
>root: Autoexec.bat, COMMAND.COM, Config.sys, DBLBUFF.SYS, grub.exe, HIMEM.SYS, HPUSBFW.EXE, IFSHLP_.SYS, IO.SYS, menu.lst, MSDOS.SYS, treeinfo.wc
>>/boot/boot.cat, boot.msg, f2, f3, german.kbd, isolinux.bin, isolinux.cfg, linux, logo.16, memtest, menu.lst, minirt.gz, minirt_ntfs.gz
>>>/boot/grub/bootgrub, built_in_menu.lst, e2fs_stage1_5, fat_stage1_5, grldr, grub.exe, linux, memtest, menu.lst, minirt_ntfs.gz, nbgrub, ntfs_stage1_5, pxegrub, reiserfs_stage1_5, stage1, stage2, stage2_eltorito
>>>/boot/knoppix.402/KNOPPIX.iso, linux, memtest, menu-lst, minirt_ntfs.gz
There are a fiew files two or three times - I know, I'm desperated :?
All menu.lst files look like this:
################################################## ####
# GvR April 12th 2005
color black/cyan yellow/cyan
timeout=5
default=5
title Knoppix 4.02 ISO from USB sda1
kernel (hd0,0)/boot/knoppix.402/linux ramdisk_size=100000 init=/etc/init bootfrom=/dev/sda1/boot/knoppix.402/*.iso lang=us noprompt apm=power-off nomce ### all the kernel options on a single line ###
initrd (hd0,0)/boot/knoppix.402/minirt_ntfs.gz
boot
title Knoppix 4.02 ISO from USB sda2
kernel (hd0,0)/boot/knoppix.402/linux ramdisk_size=100000 init=/etc/init bootfrom=/dev/sda2/boot/knoppix.402/*.iso lang=us noprompt apm=power-off nomce ### all the kernel options on a single line ###
initrd (hd0,0)/boot/knoppix.402/minirt_ntfs.gz
boot
title Default Boot on HD 0
rootnoverify (hd0,0)
chainloader +1
boot
title Memory test
kernel (hd0,0)/memtest
################################################## ####
The computer boots until the well known "Error 16: File not found". I also escaped the execution of all DOS drivers (himem.sys and others). After that a list appears and I can choose from the following options:
- /boot/grub/menu.lst
- /menu.lst
Both options do lead to the "Error 16" again.
Thats all I know at the moment. Oh, it's a 1 GB USB dongle from Toshiba. It would be really fine if anyone could give me a hot tip :)
With kind regards
Marcel
-
Boot Knoppix 4.02 (cd or dvd data) from a USB dongle
Quote:
Originally Posted by marft
... I tried to install Knoppix 4.0.2 to a USB dongle for six hours now - without any success. I hope anyone here could help me; that would be so great. Thanks a lot in advance! :wink: ... Marcel
Well this looks like a little confusing to me. Did you follow the instructions I posted here ?
http://www.knoppix.net/forum/viewtop...?p=93758#93758
If yes, you should not have that many files in your USB dongle which may confuse the boot process.
And btw, you should delete or rename (at least temporary) any other KNOPPIX directory or KNOPPIX file
you may have on all other partitions or disk drive since that may also confuse the linuxrc boot script.
Anyway I made a new zip file customized for booting Knoppix 4.02 from a usb dongle:
http://s94002264.onlinehome.us/grub/usb_dgle.zip
After formatting your USB dongle with HPUSBFW.EXE pointing to the content of the zip file,
copy the rest of the zip file into your usb dongle but be careful to NOT overwrite the file IO.SYS
and obviously copy the iso knoppix 4.02 file into the /boot/knoppix.402 directory (please keep the lowercase ".iso" extension)
Then after booting from your usb dongle, you should have a first menu proposing to use grub or lilo (both should work but I have a preference for grub)
and if you choose grub you should have a second menu proposing to boot knoppix from the iso on sda1 or sdb1.
In most cases, sda1 will work but with my Thinkpad T43 I have to use the sdb1 option because sda1 is recognized and used by the sata hdd bridge.
Hope this will help you and please let me know how that work for you.
Best Regards,
Gilles
PS: If you have other usb scsi or sata devices on your system, you may need to update some config files
to use /dev/sdc1 or /dev/sd...1, instead of /dev/sda1. The easiest way to know about which device to use
is to boot from the cd and check what device knoppix have assigned to your usb dongle.
Good luck !
-
Hello.
I'd like to boot dvd version from d: (I have no place on c:)-NTFS. What should I do and how to change the menu.lst?
Dario
-
Quote:
Originally Posted by moiz
Hello.
I'd like to boot dvd version from d: (I have no place on c:)-NTFS. What should I do and how to change the menu.lst?
Dario
Boot with the knoppix cd/dvd, check what is the device knoppix will assign to the device you would like to boot from, and modify the file menu.lst accordingly. As an example if the windows d:\ volume is the second partition of your first hdd (as recognized by linux), you will need to change (hd0,0) --> (hd0,1) at the beginning of the kernel and initrd lines, and /dev/hda1 --> /dev/hda2 in the bootfrom= cheatcode of the kernel line. To figure out what is the device assigned to your partition, first click on the device icon on the dashboard and verify that this is the device you are looking for, then open a shell and use the df command to get the device mapping between /mnt/your_d_volume and the /dev/hda... or /dev/sda... Finally when migrating the knoppix boot files from c to d, it is probably a good idea to keep the same filenames and directory tree from the root of the partition. Hope this helps. Please let me know how that works for you.
Best Regards, Gilles