PDA

View Full Version : Install in external HD, but with cd boot option



daneel101
11-27-2004, 02:04 AM
Hi,

I have an external USB HDD (basically, an old IBM 13 gig Travelstar that I put in a casing) that I would like to install knoppix in. Before I do, however, i'd be grateful if you guys could clarify some points for me. Here goes...



1. So I boot knoppix and run "sudo knoppix-installer". Now, what I'm looking for is a persistent and upgradeable installation in my removable HDD that I can carry around and run in other computers with USB ports. Thus, among the install options, perhaps it is best to choose the "simple setup" (the third option in the GUI menu), that has the debian style setup as well as knoppix's autodetection at boot.

Question: How persistent is this setup exactly? Will this run on a ramdisk uncompressed from the HDD, or off of the hard drive itself? I need the latter.




2. Here's the thing. Once the install is complete, I guess that the program
will run "lilo" on the MBR of the drive. This will boot ONLY if the motherboard/BIOS of the host machine can boot off of USB ports. Now, my machine can, but I'm aware that there are many other older machines whose motherboards do not support USB boots. I have read that it is possible to craft a boot cd that boots it's kernel and then "transfers" the rest of the boot process to the hard drive. If there is a knoppix cheatcode for this, than please let me know. If not, then if there is a HOWTO somewheres (I already googled) that instructs on how to create a remastered cd with scripts that accomplish this, please link me to it and that'd be fine.

To make my goal clearer, basically I want to do with my knoppix cd/USB HDD what Mandrake is selling with it's Globetrotter version (see http://www.mandrakesoft.com/products/globetrotter and http://www.mandrakesoft.com/products/globetrotter/faq ), only with Knoppix instead of Mandrake. It has a bootable HDD as well as a boot cd for systems that don't support usb boot. It would be nice if I could do this myself.



3. Finally, after all this has been done and I have succesfully booted. What should I do to update the system? Does this default install come with apt-get/dpkg's and stuff, so that I may config the relevant files & just do "apt-get update/upgrade" and be done with it? I ask because I want to install gnome, firewall GUI's, latest firefox and other misc stuff also.


Thanks in advance, and do enlighten me as to what to do exactly.


Regards,
AR


Deutsche Übersetzung:


Hallo,


habe ich einen externen USB HDD (im Allgemeinen, ein altes gig Travelstar IBM 13, das ich in ein Gehäuse einsetze), diesen ich möchte knoppix in anbringen. Bevor ich jedoch würde ich dankbar sein, wenn Sie Halteseile etwas Punkte für mich erklären konnten. Geht hier..., 1. So lade ich knoppix auf und lasse "sudoKnoppixinstallateur" laufen. Jetzt was ich suche, ist eine hartnäckige und ausbaufähige Installation in meinem entfernbaren HDD, das ich herum tragen und in andere Computer mit USB-Toren laufen kann. So unter den anbringenwahlen, möglicherweise ist er am besten, die "einfache Einstellung" zu wählen (die dritte Wahl im GUI-Menü), die die debian Art hat, die sowie autodetection der knoppixs an der Aufladung gegründet wird. Frage: Ist diese Einstellung genau wie hartnäckig? Werden Sie dieser Durchlauf auf einem ramdisk, das vom HDD oder weg vom harten Antrieb selbst uncompressed ist? Ich benötige das letzte. 2. Ist hier die Sache. Einmal ist anbringen, ich schätzen komplett, daß das Programm "lilo" auf dem MBR des Antriebs laufen läßt. Dieses lädt auf, NUR wenn das motherboard/BIOS der Wirtsmaschine von den USB-Toren weg aufladen kann. Jetzt beachten meine Maschinendose, aber ich, daß es viele andere ältere Maschinen gibt deren Motherboards nicht USB-Aufladungen stützen. Ich habe gelesen, daß es möglich ist, ein Aufladungscd in Handarbeit zu machen, das Aufladungen es Kern ist und dann den Rest des Aufladungsprozesses auf den harten Antrieb "bringt". Wenn es ein knoppixcheatcode für dieses gibt, als informieren Sie mich bitte. Wenn nicht, dann, wenn verbinden es somewheres eines HOWTO (ich googled bereits), gibt das anweist auf, wie man a remastered Cd mit Indexen verursacht, die dieses vollenden, mich bitte mit ihm und that'd ist fein. um mein Ziel freier zu bilden, im Allgemeinen möchte ich mit meinem knoppix cd/USB HDD tun, was Mandrake mit ihm ist Version Globetrotter verkauft (sehen Sie [ url]http://www.mandrakesoft.com/products/globetrotter[/url ] und [ url]http://www.mandrakesoft.com/products/globetrotter/faq[/url ]), nur mit Knoppix anstelle von Mandrake. Es hat ein bootable HDD sowie ein Aufladungscd für Systeme, die nicht usb-Aufladung stützen. Es würde nett sein, wenn ich dies tun könnte selbst. 3. Schließlich nachdem alles dieses getan worden ist und ich haben succesfully aufgeladen. Was sollte ich tun, um das System zu aktualisieren? Bringt diese Rückstellung gekommen mit apt-get/dpkg's und Material an, damit ich Config die relevanten Akten u. gerade seien "update/upgrade" passend-erhalten Sie und mit ihm getan Sie kann? Ich bitte, weil ich gnome, Brandmauer-GUI, neuestes firefox und anderes Verschiedenes Material auch anbringen möchte. Dankt im voraus und erleuchtet mich hinsichtlich was, genau zu tun. Respekt, AR

testuser
11-28-2004, 05:20 AM
You might see the pivot_root install method. You install to the hard drive without installing a boot loader to your MBR (unless you want to). Then you use the CD to boot, and type some commands to switch over to the system on your drive.

You can carry around the CD and your external hard drive to boot up your Linux system on any computer (hopefully).

See: http://www.knoppix.net/docs/index.php/PivotRootInstall

daneel101
11-28-2004, 07:27 AM
You might see the pivot_root install method. You install to the hard drive without installing a boot loader to your MBR (unless you want to). Then you use the CD to boot, and type some commands to switch over to the system on your drive.

You can carry around the CD and your external hard drive to boot up your Linux system on any computer (hopefully).

See: http://www.knoppix.net/docs/index.php/PivotRootInstall

YES!YES! I found out about pivot_root by googling yesterday and got the link above. I've done it and it works like a charm!!!

Just that kdm crashed for some mysterious reason, so I had to use gdm instead.


Also, ksysv crashed too, so I had to symlink the sysinit directories manually during configging....

Tried to search for tksysv or some other older sysinit GUI for Debiam but couldn't find one without unresolvable dependency crap. Still searching...


Thanks, anyways.
PS: Is it possible to craft a special small boot cd with that pivot_root thingie
and all those commands included in a shell script that executed automatically so I wouldn't have to enter 'em? If somebody could point me to a HOWTO for this I'd be grateful.


Thanks,

AR

testuser
11-28-2004, 08:20 PM
PS: Is it possible to craft a special small boot cd with that pivot_root thingie
and all those commands included in a shell script that executed automatically so I wouldn't have to enter 'em? If somebody could point me to a HOWTO for this I'd be grateful.


Yeah, unfortunately I'm a Knoppix novice, too. I'm sure how to. I saw another guy copied the commands to a shell script and ran it off a floppy, but I don't even have a floppy drive. You'd probably have to reburn the Knoppix CD with a custom shell script or maybe the knoppix.sh script can be used, I don't know.