-
Converting Poor Man's install to dual boot
I looked for articles in the Documentation and around the forum and couldn't find anything specific. Maybe I'm wrong and someone can point me to the right URL. Here is the situation:
1. Why I did what I did: My previous experience with dual boot Linux was always bad (~9y), Knoppix pivot_root HD install looked like a safe method and I did it. Anyway, now I am a Knoppix fan and dual boot would be the way to go (I have been unlucky with my choice of hardware and some peripherals only work under Windows).
2. My current partitions are:
Code:
/dev/hda - hda1: fat
/dev/hdb - hdb1 : fat, hdb2: swap and hdb3: ext2
3. I boot from CD, do the mkdir ...; mount ..., etc ... and I'm on Knoppix. I want to be able to choose at boot time which OS and go on with my life.
Question: Can someone provide me with the detail steps to get it done? I'm not afraid of backing up/modify boot sectors. I've done it before, I'll do it again (plus I have a removable HD to backup everything and restore in case of major disaster )
Thx,
--GN
-
Senior Member
registered user
You've done the hard parts, partitioning and installation - the rest should be a piece of cake for you!
What you want to do is install a bootloader that can boot various operating systems in the Master Boot Record on hda. By far the most common two in the Linux world are LILO and GrUB. Knoppix comes with both, LILO v. 22.6.1 and GNU GrUB v. 0.95.
Start by checking out the short manual pages of their installation programs:- $ man liloconfig
$ man grub-install
The more extensive documentation that's referred to in these pages isn't part of the Knoppix installation, though.
You'll probably want to tweak the configuration that LILO gives you by editing /etc/lilo.conf directly. You can fiddle with a GrUB installation interactively by just typing grub at a console prompt.
-- Ed
-
Re: Converting Poor Man's install to dual boot
Originally Posted by
gnarvaja
I looked for articles in the Documentation and around the forum and couldn't find anything specific. Maybe I'm wrong and someone can point me to the right URL.
I came up with some instructions to dual boot Poor Man's Install with any flavor of Windows using GRUB, here:
http://www.knoppix.net/wiki/Hd_Based...ing_GRUB_on_HD
The emphasis for me (for simplicity) was using the minimum number of partitions I could while also NOT using the Windows partition for KNOPPIX -- so I went ahead and put the persistent home, KNOPPIX image files, GRUB files, and even the saved configuration all on the same partition. Contrary to some opinions I've seen up here, KNOPPIX will allow the partition with the image file (i.e., "fromhd=" partition) to be writable if you have also designated it has the Persistent Home partition (i.e., "home=" partition). In fact, that part works great -- the only problem I am having is that KNOPPIX 3.7 doesn't seem to like me using "myconfig=" (i.e., the location of my saved configuration files) also point to that same partition. Still working on that -- I'd swear on a couple installations it does always work, but I can't figure out what the pattern is (maybe it only works with KNOPPIX 3.4 installations, or maybe it is something about what got saved in my config files -- still trying to figure it out). In the mean time, the benefits of having all of it together in one partition outweigh this nusisance; for now, I'm lazy (and stubborn -- I can just put the config files in another partition - that works!) and just put any stuff I want initialized (network, programs, etc.) in the KDE Autostart folder.
-
Senior Member
registered user
I would just try installing lilo to the MBR from your Knoppix install. You may have to edit /etc/lilo.conf to get everything to boot.
Here is my lilo.conf for an example:
Code:
boot=/dev/hda
map=/boot/map
vga=normal
default="Linux(new)"
prompt
nowarn
timeout=100
#message=/boot/message
menu-scheme=wb:bw:wb:bw
lba32
# Boot Kanotix on hda8
image=/boot/vmlinuz
append="lang=us apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi quiet BOOT_IMAGE=knoppix"
root=/dev/hda8
label="Linux(new)"
read-only
# Boot Knoppix26 on hda5
image=/mnt/hda5/boot/vmlinuz-2.6.6
label="Linux(old)"
root=/dev/hda5
initrd=/mnt/hda5/boot/initrd.img-2.6.6
append="lang=us apm=power-off ramdisk_size=100000 init=/etc/init nomce nofstab quiet wheelmouse"
read-only
# Boot Knoppix24 on hda5
#image=/boot/vmlinuz-2.4.26
# label="Knoppix24"
# root=/dev/hda5
# initrd=/boot/initrd.img-2.4.26
# append="lang=us apm=power-off ramdisk_size=100000 init=/etc/init nomce quiet nofstab wheelmouse"
# read-only
# Boot Kanotix console mode on hda8
image=/boot/vmlinuz
append="knoppix 2 lang=us apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi quiet BOOT_IMAGE=knoppix"
root=/dev/hda8
label="Konsole"
read-only
# Boot Knoppix26 console mode on hda5
#image=/boot/vmlinuz-2.6.6
# label="Konsole"
# root=/dev/hda5
# initrd=/boot/initrd.img-2.6.6
# append="knoppix 2 lang=us apm=power-off ramdisk_size=100000 init=/etc/init nomce nofstab wheelmouse"
# read-only
# chain boot Kanotix through grub on hda8
other =/dev/hda8
label="Kanotix_"
# Boot Windows on hda1
other=/dev/hda1
label="Windows"
table=/dev/hda
# Boots Knoppix 'toHD' install on hda1
image=/mnt/hda1/bootlinux/isolinux/linux24
label="backup"
initrd=/mnt/hda1/bootlinux/isolinux/minirt24.gz
append="home=scan myconfig=scan fromhd=/dev/hda1"
Similar Threads
-
By Radfahrer in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 07-07-2005, 04:29 PM
-
By prehis in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 09-15-2004, 04:44 AM
-
By j.drake in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 08-29-2004, 07:51 AM
-
By pau1knopp in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 05-17-2004, 10:27 PM
-
By A. Jorge Garcia in forum General Support
Replies: 18
Last Post: 10-02-2003, 09:41 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD
$69.99
Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch
$109.99
Western Digital RED NASware 3.0 WD40EFRX 4 TB SATA III 3.5 in NAS HARD DRIVE
$99.99
WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F
$25.00
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$82.99
Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive
$29.99
8TB Seagate Archive SATA 3.5" HDD Hard Drive 100% Healthy 200MB/s ST8000AS0002
$36.42
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$26.85
WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN
$209.99
WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN
$84.99