Re: Replacing existing RH9 in GRUB dual boot (w/ W2k) w/Knop
Quote:
Originally Posted by joe_bfstplk
Here's the scenario:
I have three HDDs:
one (27G, 7200RPM) for W2k (the first)
one for data storage (60G, 7200RPM) and swap files (four partitions--W2k swap, data 1, data 2, Linux swap),
1) Point the intaller to your exisitng Linux swap (it should find it on its own however).
2)If you want data1 & data2 partitions mounted automatically on boot simply edit /etc/fstab AFTER the install as there in no capacity for this as of yet.
Quote:
one for Linux (10G, 5400RPM--the original HDD from the computer that preceded this one...) with '/boot' (generously allocated 100MB :wink:), '/', and '/home' partitions formatted ext3, and a 750k vfat partition specifically for compiling files while preparing CDs for burning
/boot is unnecessary but doesn't hurt anything. Just realize that if you want your kernel on its own partition you'll have to move it yourself. I would advise against it.
Quote:
I'm hoping I can keep the Linux partitions as they are, empty them (I've backed up the /home to the W2k "G:" (data 2) partition), and install Knoppix in them.
Just reformat your existing partitions. For ext3:
mke2fs -j /dev/hdx?
What size are / and /home? That will be the determining factor. Realize however that the installer is incapable of installing to multiple partitions without a bit of editing on the part of the user. Fear not as it's quite simple to do:
Quote:
Does the Knoppix install routine 'knx-hdinstall' offer GRUB as an option (the McNab article suggests using it, which I'm happy to do, as I'm used to it, but fails to mention if it's part of the normal knx-hdinstall setup or something I'd have to kludge on later), and will it freak out over the fact that the MBR on the first HDD (I installed Windows first and Linux second, so GRUB is on the first HDD) is already GRUB-ed and working quite well as dual-boot?
1)Simply intall lilo to /root and not mbr. Then just edit menu.lst so that it points to your kernel.
2)Don't use knx-hdinstall. Use knoppix-installer instead.
3)Better yet, get Kanotix It is built w/ sid and makes for a great install cd. Knoppix is really more of a live cd. The installer was created at the request of the users AFAIK.
Boot Kanotix.Make your partitions. Format them as ext3 (or whatever you like). Currently the installer can only format /root. Start the installer:
1)sudo kanotix-installer
2)Configure
3)Quit.
4)Save config? YES
5)sudo xedit /root/.knofig
6)Edit HD_MAP=""
(example)
7) HD_MAP="/dev/hda3:/home /dev/hda6:/tmp /dev/hda7:/var /dev/hda14:/usr"
8)Save
9)sudo kanotix-installer
Review your configuration.
10) In another terminal: mount
You should see your partitions mounted on their respective mount points.
You do not have to move all directories listed in my example to other partitions. Selecting / and /home is suficient. Make sure that / is at least 2G. I'd recommend larger.
Perhaps moving this to its own thread would also get you more visibility.
Quote:
PS:to richenbacherus--
you play guitar? hang out at ampage.org or the yahoo strat, rigtips, or tubefex groups? your handle sounds familiar....
Yes I play- quite poorly at that. :)
Re: Replacing existing RH9 in GRUB dual boot (w/ W2k) w/Knop
Quote:
Originally Posted by rickenbacherus
1) Point the intaller to your exisitng Linux swap (it should find it on its own however).
2)If you want data1 & data2 partitions mounted automatically on boot simply edit /etc/fstab AFTER the install as there in no capacity for this as of yet.
Thanks! This worked out pretty well, although the installer had to be told which physical drive to look on, it found the existing swap once I'd done so.
Quote:
/boot is unnecessary but doesn't hurt anything. Just realize that if you want your kernel on its own partition you'll have to move it yourself. I would advise against it.
I ended up doing exactly as you advise--nixing the /boot. I didn't feel comfortable with moving the Kernel around and such. I stumbled across, er..., found (yeah, that's the ticket) a thread started by jdong also that provided a step-by-step for getting the bootloader set up, which was my main problem after installing. I could see and boot into Win2k, but not into Knoppix.
Quote:
What size are / and /home? That will be the determining factor. Realize however that the installer is incapable of installing to multiple partitions without a bit of editing on the part of the user. Fear not as it's quite simple to do:
1)Simply intall lilo to /root and not mbr.
That's what I did the last time, after trying and failing with LILO in the MBR (it didn't even show up on the MBR--maybe it put it in the MBR of hd2?). Then I followed (sort-of) jdong's instructions about the boot.ini file in Win2k to get it to boot. My / is about 4.2G, and /CD_PREP is about 750M, leaving 5G for /home. I need to make an ext3 file system on the new /home partition, as I've not done that yet, but then I'll be transferring all the home directories to that partition and wiping out the standard knoppix user in favor of my own account....
Quote:
Perhaps moving this to its own thread would also get you more visibility.
I think that's a good idea, as it may help someone else in a similar situation (already set up for dual-boot, switching from another distro, etc.). I'll try to get that going tomorrow, after I get done with setup here and installing my new DVD-R/RW drive.... javascript:emoticon(':D')
Quote:
Yes I play- quite poorly at that. :)
Don't knock yourself, a lot of famous players aren't "all that" either. If you have fun doing it and small furry animals don't spontaneously die upon hearing you play, it's cool. Drop on over to ampage.org if you have any amp/gear related questions. It's a great resource. I hang out there a lot, as I like to build tube amps.... I also enjoy the irony of using advanced technological means (such as computer and internet) to communicate about vacuum tubes.... javascript:emoticon(':lol:')
Thanks again!
C ya,
Dutch
Re: Partitioning and cfdisk how-to and how to ungoof your MB
Hi, after HD install I also could not run win(winxp).
I had several partitions on hda:
1 ntfs for winxp bootable
1 reiserfs for linux
1 swap
1 fat32 for read/write from both os
I looked around when booted with a diskette into knoppix.
I found a command:
install-mbr
Read the help file(manual?) and tried it.
I took the option to boot from hda1 and hda2.
Rebooted straight into winxp.
I boot to linux with my diskette.
Maybe I better put lilo to do the first loading?
Have to work on that.
Greetings from Belgium.
adding notes:
dd.june2005: now I use GRUB, LILO or XOSL to do the booting.
LILO tips for those new to this....
Here's some of our notes from a knoppix hd install...
If you put LILO on your windows MBR and later want it off,
you can remove it by booting to your knoppix hd install, open a console then type
lilo -u
reboot and windows will boot as normal.
The boot floopy made by knoppix-installer will still boot linux.
----------
A good way to install knoppix is to put it on the 2nd HD, then install lilo to the partition. Then use mbrwiz a free windows tool, to set that partition active. Now you can use your bios to select the HD to boot from.
If you have the linux drive booting you will get the LILO menu and can boot linux or windows. If you set your bios to boot from the windows HD all will be normal, no LILO menu.