| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 37196 | 2003-08-31 08:36:00 | Dual boot | DaveNZ (4458) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 171972 | 2003-08-31 08:36:00 | Hi all Starting to get my RedHat sorted.. thanks to those of you that helped along the way. I started with a fresh HDD for my install, I left my other HDD intact with win2k. Now I have lots of files mainly mp3's on my win HDD that I want to acess with Linux. I tried connecting both HDD's (the win one set as slave, no jumper) but when it tried to boot it won't load saying there was an incorrect disk, something like that. Any idea's??? THanks Dave |
DaveNZ (4458) | ||
| 171973 | 2003-08-31 09:05:00 | Dave I am not quite sure what you are saying here? Did you disconnect the Win2k drive when you installed Linux? If so, then you shouldn't have. Leave Win2k on the master drive and use LILO (or GRUB) to boot from the master boot record. Linux boots fine from the master on IDE2. There will be a way to recover from this - but first some clarification as to what you have actually done. John |
JohnD (509) | ||
| 171974 | 2003-08-31 09:23:00 | Thanks John I had a good win2k setup and another 30gb HDD that was spare, so I thought I'd instal RedHat on the spare drive, so if there was drama's I could just plug the good win drive back in and be away again. Now I have Linux up and running well I'd like to transfer some of the files to the Linux drive. Hope that helps.... |
DaveNZ (4458) | ||
| 171975 | 2003-08-31 09:38:00 | So what you need to do then is have both disks installed and use either LILO or GRUB to dual boot. I would suggest leaving your Win2k as the master on IDE1 ( the first channel which some people call IDE0) and install the Linux drive as a slave on IDE1 also. Which boot loader are you using for Linux? I have never tried this but think it will work. 1. Shut your machine down and install the second drive as above. 2. Boot from your Linux CD and go into recovery mode (can't remember what it is called?) 3. Re-write the master boot record with your boot loader settings for the new configuration. I know how to do this with LILO but not GRUB (although it would not be hard). Please advise which boot loader you are using. John |
JohnD (509) | ||
| 171976 | 2003-08-31 10:04:00 | Not sure about boot loader.... It woudn't boot from the cd so I used the util on the cd to make a floppy boot loader. I'm not up on Linux yet..... it's a bit of a learning curve...... |
DaveNZ (4458) | ||
| 171977 | 2003-08-31 10:07:00 | If you are using LILO and set the drives as I said above then your /etc/lilo.conf file should look something like this: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ boot=/dev/hda map=/boot/map install=/boot/boot.b prompt timeout=50 message=/boot/message linear default=Windows2k image=/boot/vmlinuz-2.4.20-8 label=linux read-only root=/dev/hdb1 other=/dev/hda1 label=Windows2k ~~~~~~~~~~~~~~~~~~~~~~~ The command while logged in as root to rewrite the mbr is /sbin/lilo. The above assumes that the root partition is hdb1 - it may not be? Would be good to wait for other comments and confirmation that this technique is correct before proceeding. John |
JohnD (509) | ||
| 171978 | 2003-08-31 10:08:00 | So I recommend proceeding to set up LILO as your boot loader - but wait for confirmation of my method first. John |
JohnD (509) | ||
| 1 | |||||