PDA

View Full Version : booting remastered knoppix from HD



mehlng
10-09-2003, 12:49 PM
hi - is there a way to remaster knoppix and boot into my remastered version w/o burning my new knoppix?

rneff
10-09-2003, 01:33 PM
Yes. You do this using a boot disk. The boot disk I created looks for the compressed filesystem in the root of each partition you have. The first one it finds it boots from.

Look at step 3 on this site: http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/gnumed/gnumed/gnumed/test-area/knoppix/Attic/readme.html?rev=1.1&search=None&hideattic=1&content-type=text/plain

PrOCesSkIlL
10-09-2003, 06:37 PM
Another way is you do all your work under VMWare, like I do.

You can find a win or linux solution at http://www.vmware.com.
VMWare is able to emulate CD-Rom Drives, using ISO-Images.
So you can boot directly from an ISO-Image (up to 4GB Image Size).

rneff
10-09-2003, 07:16 PM
The annoying thing about VMWare for this particular application is that each time you remaster, you need to re-create the cd image, as opposed to just booting right from the compressed filesyste.

The boot disk method saves a step.

Salvatore
10-10-2003, 12:33 PM
I've tried the way of rneff. It work! It's very fast compared to work from CD.

But: I can't write to a config file to change something!
Is this because it's booting from an Image?

When I have to change something, must I reboot again with another Installation, change what I need and then reboot again with the boot disk?

I hope'd that with that way I can edit what I need without rebooting and rebooting, etc. .

Is there a way to booting from a KNOPPIX, change what I need without rebooting and after all is OK create an image?

rickenbacherus
10-13-2003, 05:56 PM
I would boot Knoppix from cd to text mode, mount the partition that contains your remaster (uncompressed of course), chroot into it, get X windows working and make whatever changes you want. Then, make the compressed KNOPPIX, mkisofs and away you go.

rneff
10-14-2003, 02:50 PM
Yes. What rickenbacherus described is what I do. Although with tho boot disk there is not reason to mkisofs. You can just boot the compressed image.

You do have to reboot each time you make changes. I cannot envision a way to test a live boot Cd without booting it.

rickenbacherus
10-14-2003, 05:53 PM
Although with tho boot disk there is not reason to mkisofs. .

How do you make a compressed image without using mkisofs?

Tech2k
10-15-2003, 05:58 PM
[/quote] How do you make a compressed image without using mkisofs?[/quote]

Well...I use tar -cvvzf foo.tar.gz foo/

Oh wait thats for my mainmod :P

Sorry couldnt resist ;)

I do most testing in a chroot jail and u can even startx and do anything but the actual boot process.There are ways to boot a knoppix iso witout burning it or even using the boot floppy but I have not done that yet.Kano just had someone doing it the other night on irc #knoppix because they didnt have a cdrom or a floppy drive working.It was something like putting miniroot.gz and vmlinuz on the partition along with the KNOPPIX directory copied out of a loop mounted iso and then edition /etc/lilo.conf then running /sbin/lilo and finally rebooting the system.

jacarr
10-17-2003, 12:00 PM
There are ways to boot a knoppix iso witout burning it or even using the boot floppy but I have not done that yet.Kano just had someone doing it the other night on irc #knoppix because they didnt have a cdrom or a floppy drive working.It was something like putting miniroot.gz and vmlinuz on the partition along with the KNOPPIX directory copied out of a loop mounted iso and then edition /etc/lilo.conf then running /sbin/lilo and finally rebooting the system.

I've managed it a couple of times by following instructions found here:

http://www.knoppix.net/docs/index.php/HdBasedHowTo

It's interesting, to say the least. :) When I had 3 separate 2G partitions, an iso for 3.2 being on the first, I just downloaded 3.3 and followed the steps again for setting it up on /dev/hda2. After my CD burner quit being finnicky, I burned 3.3 and did a true knoppix-mode install on /dev/hda1. I've got the instructions copied just in case my burner fails me again. ;)