j.drake
07-08-2004, 04:41 PM
I was waiting for a new release to do a debian hd install, but got impatient, so I figured I'd at least do a poor man's install in the meantime. Trouble is, that 3.4 apparently boots in a different fashion, so probably 85% or more of the information I get from the WIKI or by searching is absolutely worthless for 3.4. As far as I can tell, you can totally disregard any advice or instructions written prior to May 2004, when 3.4 was released.
Since there may be others interested in this, I'm going to summarize the process in the next five paragraphs. For those of you willing to help me with my problem, skip the next five paragraphs. I'll tell you when to stop scrolling.
For those who haven't looked into this, a poor man's install is pretty much the same as running off of a live CD, but it's faster, and potentially more convenient, plus, it frees up your CD or DVD drive for other things, such as burning a disk - can't do that with live CD unless you have another drive. Of course you still have to do a persistent home (PH) and save your configuration in order to install applications or keep your printer definition between sessions, but that's easy. Obviously, a HD install is better, but some people aren't ready to take on the hassle of debugging a HD install (even some very experienced linux users are spending countless hours on this forum looking to patch one problem or another), and, in my case, I share my home PC with a spouse who cannot understand the "necessity" of "jacking around" with linux in the first place, when Windows does everything we really need, especially if LILO hoses the MBR, and we can't get into the apps she needs in Windows while I fumble around looking for a fix. But what really persuaded me, was that I was reading about Klik, and read that probono, himself, uses a "poor man's" install. I figured that if he can do what he does with a PMI, it certainly won't limit my sorry butt. So, for now, I'm running off of a HD image of 3.4 2004-05-17, and booting with the CD.
There is no necessity to partition your media, but I had partitions left over from a dual boot of Mandrake on a second HD, including a swap partition, an ext2 partition that I was using for my persistent home (PH), and a FAT32 partition that I use for data, so that I can access data from either Knoppix or Windows. For anyone interested, the Debian site has a great tutorial on partitioning. http://www.debian.org/releases/stable/i386/ch-partitioning.en.html You could even do this on something other than a HD, if it's large enough, so once 1 gig thumbdrives drop in price you could conceivably carry your whole Knoppix system, installed apps and data in your pocket to use in any PC you encounter.
Think about where you want your persistent home to be, and whether you want it as a file or a partition, and whether you want to save your poor man's to the same partition as your PH. The reason for this is that if you put your PH as a partition, the setup will format that partition, so it's pointless to install Knoppix to that location before you set up your PH. If you don't want to partition, just save your PH as a file wherever you like. Running Knoppix off of CD, click the penguin icon on the toolbar, and click Configure. From there, you can see the links to set up a persistent home, and to save your configuration. Do the PH now (then the save configuration if you want), log off and restart.
Boot the CD with whatever cheatcodes you use, but include the following cheatcode as well (I'll use hdb5 as the example for where I want the HD install located - NOTE: this is NOT THE SAME THING as the ISO file you downloaded, but you can put it in the same location if you wish): "tohd=/dev/hdb5/". So, if you created your persistent home at the hdb5 partition, your boot might look like this: "knoppix26 home=/dev/hdb5 myconfig=scan tohd=/dev/hdb5", or if you saved your PH as a file and didn't partition, it might be: "knoppix26 home=scan myconfig=scan tohd=/dev/hdb5 The boot process will copy the image there and continue booting off the CD. Check to make sure that your configuration was saved and that your persistent home set up OK. If not, try setting them up again now. If you want to create boot floppies now (what's the point - it's slower than booting from CD, and you have a CD anyway,right?) you can do so from the same penguin icon on the toolbar. Two floppies are needed. Log off and restart.
This time, you want to restart and append the cheatcode "fromhd=/dev/hdb5". For example, "knoppix26 home=scan myconfig=scan fromhd=/dev/hdb5". It should now be a lot faster, and you can remove the CD until the next time you boot.
OK, Here's where I need help.
I would like to do the following:
Phase 1: I would like to boot from a USB key, in my case, it's /dev/sda1/. There is a lot of info on the WIKI and this forum about doing that with previous versions, but I couldn't find anything relevant to version 3.4. I think bootfloppies are pointless.
Phase 2: I would like to integrate my cheatcodes into this boot image if possible. The idea being that if I want Windows running, I simply leave out the USB key and boot with the stock Windows XP bootloader. When I want Knoppix, I simply plug in the USB key, reboot, go get a beer, and when I come back from the kitchen, my knoppix 3.4/2.6 desktop is up and
waiting for me, printer file installed and apps in my PH available to me. IOW, I want to integrate the following cheatcode line"knoppix26 home=/dev/hdb5 myconfig=scan bootfrom=/dev/hdb5".
Phase 3: When I can afford a 1 GB USB thumbdrive or larger (probably much larger), I want to integrate the Knoppix image, PH, configuration file and data into the thumbdrive as well, so that I can have access to my entire system, apps, preferences and data available to me from any x86 PC I can find with a USB port.
If you guys can help me with one or more of these issues, I'll be happy to update the WIKI with all of this, so that new users will have something comprehensive to work from in setting this up
TIA,
jd
Since there may be others interested in this, I'm going to summarize the process in the next five paragraphs. For those of you willing to help me with my problem, skip the next five paragraphs. I'll tell you when to stop scrolling.
For those who haven't looked into this, a poor man's install is pretty much the same as running off of a live CD, but it's faster, and potentially more convenient, plus, it frees up your CD or DVD drive for other things, such as burning a disk - can't do that with live CD unless you have another drive. Of course you still have to do a persistent home (PH) and save your configuration in order to install applications or keep your printer definition between sessions, but that's easy. Obviously, a HD install is better, but some people aren't ready to take on the hassle of debugging a HD install (even some very experienced linux users are spending countless hours on this forum looking to patch one problem or another), and, in my case, I share my home PC with a spouse who cannot understand the "necessity" of "jacking around" with linux in the first place, when Windows does everything we really need, especially if LILO hoses the MBR, and we can't get into the apps she needs in Windows while I fumble around looking for a fix. But what really persuaded me, was that I was reading about Klik, and read that probono, himself, uses a "poor man's" install. I figured that if he can do what he does with a PMI, it certainly won't limit my sorry butt. So, for now, I'm running off of a HD image of 3.4 2004-05-17, and booting with the CD.
There is no necessity to partition your media, but I had partitions left over from a dual boot of Mandrake on a second HD, including a swap partition, an ext2 partition that I was using for my persistent home (PH), and a FAT32 partition that I use for data, so that I can access data from either Knoppix or Windows. For anyone interested, the Debian site has a great tutorial on partitioning. http://www.debian.org/releases/stable/i386/ch-partitioning.en.html You could even do this on something other than a HD, if it's large enough, so once 1 gig thumbdrives drop in price you could conceivably carry your whole Knoppix system, installed apps and data in your pocket to use in any PC you encounter.
Think about where you want your persistent home to be, and whether you want it as a file or a partition, and whether you want to save your poor man's to the same partition as your PH. The reason for this is that if you put your PH as a partition, the setup will format that partition, so it's pointless to install Knoppix to that location before you set up your PH. If you don't want to partition, just save your PH as a file wherever you like. Running Knoppix off of CD, click the penguin icon on the toolbar, and click Configure. From there, you can see the links to set up a persistent home, and to save your configuration. Do the PH now (then the save configuration if you want), log off and restart.
Boot the CD with whatever cheatcodes you use, but include the following cheatcode as well (I'll use hdb5 as the example for where I want the HD install located - NOTE: this is NOT THE SAME THING as the ISO file you downloaded, but you can put it in the same location if you wish): "tohd=/dev/hdb5/". So, if you created your persistent home at the hdb5 partition, your boot might look like this: "knoppix26 home=/dev/hdb5 myconfig=scan tohd=/dev/hdb5", or if you saved your PH as a file and didn't partition, it might be: "knoppix26 home=scan myconfig=scan tohd=/dev/hdb5 The boot process will copy the image there and continue booting off the CD. Check to make sure that your configuration was saved and that your persistent home set up OK. If not, try setting them up again now. If you want to create boot floppies now (what's the point - it's slower than booting from CD, and you have a CD anyway,right?) you can do so from the same penguin icon on the toolbar. Two floppies are needed. Log off and restart.
This time, you want to restart and append the cheatcode "fromhd=/dev/hdb5". For example, "knoppix26 home=scan myconfig=scan fromhd=/dev/hdb5". It should now be a lot faster, and you can remove the CD until the next time you boot.
OK, Here's where I need help.
I would like to do the following:
Phase 1: I would like to boot from a USB key, in my case, it's /dev/sda1/. There is a lot of info on the WIKI and this forum about doing that with previous versions, but I couldn't find anything relevant to version 3.4. I think bootfloppies are pointless.
Phase 2: I would like to integrate my cheatcodes into this boot image if possible. The idea being that if I want Windows running, I simply leave out the USB key and boot with the stock Windows XP bootloader. When I want Knoppix, I simply plug in the USB key, reboot, go get a beer, and when I come back from the kitchen, my knoppix 3.4/2.6 desktop is up and
waiting for me, printer file installed and apps in my PH available to me. IOW, I want to integrate the following cheatcode line"knoppix26 home=/dev/hdb5 myconfig=scan bootfrom=/dev/hdb5".
Phase 3: When I can afford a 1 GB USB thumbdrive or larger (probably much larger), I want to integrate the Knoppix image, PH, configuration file and data into the thumbdrive as well, so that I can have access to my entire system, apps, preferences and data available to me from any x86 PC I can find with a USB port.
If you guys can help me with one or more of these issues, I'll be happy to update the WIKI with all of this, so that new users will have something comprehensive to work from in setting this up
TIA,
jd