LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-11-2010, 04:23 AM   #1
fopetesl
Member
 
Registered: Jan 2005
Location: Yorkshire Dales, UK
Distribution: Ubuntu 5.10; Mandriva 2007; Debian Lenny
Posts: 147

Rep: Reputation: 15
Question MSDOS 7.1 + Win XP + Ubuntu 9.10


There IS a similar thread but it deals with using LILO to multiboot.
I don't really want to go down this path since I, as a relative novice, can see a bear trap when modifying the MBR.
Also since Grub-2 almost gets there it should be relatively easy to hack it into shape.
My layout is:
Code:
/dev/sda1 WIN95 FAT32 C:\ with DOS 7.1 installed 1st and checked OK
/dev/sda2 LINUX ext4 /boot
/dev/sda3 NTFS D:\ WIN XP installed 2nd and checked OK
/dev/sda4 Extended
/dev/sda5 LINUX ext4 / UBUNTU installed last and checked OK
/dev/sda6 LINUX ext4 /home
/dev/sda7 LINUX swap
/dev/sda8 LINUX ext4 /tmp
I get the choice of UBUNTU or XP but not MSDOS 7.1

I guess if I knew how to discover DOS detail (sd0,0) whatever, it should be easy?
 
Old 03-11-2010, 06:05 AM   #2
pierre2
Member
 
Registered: May 2009
Location: Perth, AU
Distribution: LinuxMint
Posts: 388
Blog Entries: 9

Rep: Reputation: 88
does booting into the XP, then give the option for MSDOS 7.1 ?.
sometimes you need to boot into M$ to get to an older M$ O/S like w98.

You should be able to boot Directly into MSDOS 7.1 from the Grub2 menu,
though you may have to edit that file, as Grub2 may not install it, automatically.
 
Old 03-11-2010, 07:01 AM   #3
fopetesl
Member
 
Registered: Jan 2005
Location: Yorkshire Dales, UK
Distribution: Ubuntu 5.10; Mandriva 2007; Debian Lenny
Posts: 147

Original Poster
Rep: Reputation: 15
Angry

Quote:
Originally Posted by pierre2 View Post
does booting into the XP, then give the option for MSDOS 7.1 ?.
sometimes you need to boot into M$ to get to an older M$ O/S like w98.

You should be able to boot Directly into MSDOS 7.1 from the Grub2 menu,
though you may have to edit that file, as Grub2 may not install it, automatically.
Gooday, pierre. Yes I just discovered this option - Xp named the DOS partition as "Micro$ft Windows" which threw me.
And it works but not tidy.

Haven't found out, yet, how to get Grub2 to do it.
 
Old 03-11-2010, 08:44 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
You could try chainloader entry for DOS in Grub. With Grub Legacy you would just need an entry like:

title DOS
rootnoverify (hd0,0)
chainloader +1

I haven't used the beta version of Grub that Ubuntu 9.10 uses and it has a different method of updating as well as different file names in Grub directory. You might go to Ubuntu site or search here at LQ for Grub2 on Ubuntu to find the method.

I'm not really sure the above will work though. I had W98 and W2K installed years ago and all the boot files from W2k were in the W98 partition so DOS boot files may have been overwritten, don't really know??
 
Old 03-11-2010, 09:52 AM   #5
fopetesl
Member
 
Registered: Jan 2005
Location: Yorkshire Dales, UK
Distribution: Ubuntu 5.10; Mandriva 2007; Debian Lenny
Posts: 147

Original Poster
Rep: Reputation: 15
Question

That's fine, yancek but how do I know it is (hd0,0)?

And to make it even harder modifying Grub2 conf seems fraught with caveats
 
Old 03-11-2010, 05:23 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
That's fine, yancek but how do I know it is (hd0,0)?
Your initial post indicates it is, at least if what you posted was accurate, for example, the output of fdisk -l:

Quote:
/dev/sda1 WIN95 FAT32 C:\ with DOS 7.1 installed 1st and checked OK
Quote:
And to make it even harder modifying Grub2 conf seems fraught with caveats
It's a beta release. You may need to put makeactive in the command I suggested:

title DOS
rootnoverify (hd0,0)
makeactive
chainloader +1

I really don't expect this to work for reasons stated in my earlier post and I think what you have now may be the best you can do. Perhaps someone with more knowledge will see the post.
 
  


Reply



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
Win 7 and Ubuntu oskarpetersen LinuxQuestions.org Member Intro 1 06-30-2009 10:09 AM
problem with Ubuntu and Win XP bcbotha Ubuntu 2 11-11-2008 11:09 AM
WOL lin->win fails, win->win works? c0uchm0nster Linux - Networking 1 01-07-2007 11:33 PM
dual boot win 98 and ubuntu analogg59 Linux - Software 3 07-22-2005 11:44 AM
Want to install ubuntu with win XP nancy25dec Ubuntu 5 05-12-2005 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:14 AM.

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