LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-11-2006, 04:31 AM   #1
cgl72
LQ Newbie
 
Registered: Aug 2004
Location: Lausanne, Switzerland
Distribution: Mandrake 10.2
Posts: 8

Rep: Reputation: 0
triple boot and second internal hard drive


Hello everyone

My father has just upgraded to a new machine. XP home was preinstalled. I then installed Ubuntu on seperate partitions. The usual ubuntu grub installation for a dual boot was setup automatically and works like a charm. Here is the snag: my father wants to use some old DOS programs from inside XP and I gather this is not possible since XP does not run on top of a full version of DOS. I am not a dos user, but he has tried, and has reseached this and that's what he was told.

Here is my plan:
install the old hard drive into the new machine. This hard drive contains a working copy of win98 and is configured to his wishes. This drive will be installed as second hard drive.
Modify Grub (resident on the main drive) to be able to boot on that second hard drive into win98.

Before I attempt this, what are the unforseen difficulties, is it even possible, how do I point grub to that extra hard drive etc.?

Could someone give me some pointers?

thank you very much.

Christian
 
Old 08-11-2006, 05:00 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
One advice..if you can (and if we're talking about IDE drives here), plug the 2nd harddisk to the first IDE cable - if you have your first harddrive on the same cable with a cd/dvd-drive of some kind, unplug the cd/dvd-drive, put your 2nd harddisk instead there, and connect the cd/dvd-drive to the secondary IDE-cable. This is because it seems booting an operating system from a harddisk on a secondary ide cable does not work all right..it might or might not help but try out, at least if you're unable to boot Win98 from the 2nd harddisk after plugging it to a secondary IDE cable. If it's something else than IDE (say scsi), then forget the above.

Your first harddisk is most probably known as "hda" to Linux, and it's partitions hda1, hda2 etc..the second harddisk should pop up as hdb, and it's partitions hdb1 etc. Grub uses a bit different marking method, but if you look at the XP part of your grub's menu.lst you should be able to add your Win98 entry there, imitating the XP entry - just set the partition to boot from be on your second harddisk. If I recall correctly, the first partition on your first harddisk (where XP is probably installed?) is hd(0,1) or something. So your second harddisk's first partition would be hd(1,1) in this case, if I'm right..well, I'm working on a Win2k at the moment so bear me, but that's where I'd start from. The Grub entry for Win98 is quite similar to that of XP's, except you need to change the partition in the entry to point to the 2nd harddisk.

Good luck
 
Old 08-11-2006, 11:00 AM   #3
NoStop
Member
 
Registered: Feb 2005
Location: Canada
Distribution: Debian Etch - Enlightenment E17
Posts: 116

Rep: Reputation: 15
Quote:
Originally Posted by cgl72
Hello everyone

My father has just upgraded to a new machine. XP home was preinstalled. I then installed Ubuntu on seperate partitions. The usual ubuntu grub installation for a dual boot was setup automatically and works like a charm. Here is the snag: my father wants to use some old DOS programs from inside XP and I gather this is not possible since XP does not run on top of a full version of DOS. I am not a dos user, but he has tried, and has reseached this and that's what he was told.

Here is my plan:
install the old hard drive into the new machine. This hard drive contains a working copy of win98 and is configured to his wishes. This drive will be installed as second hard drive.
Modify Grub (resident on the main drive) to be able to boot on that second hard drive into win98.

Before I attempt this, what are the unforseen difficulties, is it even possible, how do I point grub to that extra hard drive etc.?

Could someone give me some pointers?

thank you very much.

Christian
Rather than complicate things with still another o/s installation which will only be accessible by a separate boot, why not look into DOS emulation under Linux? Maybe your father can run what he needs to run in the emulator and still have access to all the good things Linux brings?

Check this out and see whether it will suit his needs:

http://www.dosemu.org/

Cheers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Internal hard drive case material Marc General 2 05-16-2006 01:25 PM
Triple BOOT on 1 DRIVE Bobymc Linux - General 5 05-07-2006 12:00 PM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
seperate internal hard drive cerealdaemon Linux - Hardware 2 08-06-2005 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration