LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-29-2014, 04:29 PM   #1
werfer
Member
 
Registered: Sep 2003
Posts: 52

Rep: Reputation: 15
Need help to set up a multiboot system


Hi there,

I need to setup a multi-boot system including DOS 6.22, Windows 98SE and the latest version of Debian. I have a Win98SE install CD, a DOS 6.22 boot-CD, and a netinstall Debian CD.

I tried several approaches, but unfortunately always fail. Has anyone done this before successfully and post a short HowTo? The PC I am using has a 156 GB hard drive, and even a 3.5 floppy disk still available.

Werfer
 
Old 08-29-2014, 07:58 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,541

Rep: Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496
You might try a windows forum for the first two. How old is the computer and what is the hardware. If it's too new, you might have trouble getting DOS or W98 to run and if it's too old, problems with Debian. I'd check the Debian minimum hardware requirements to start. You might be able to get a minimal Debian to run.

Posting some information on what you have tried and what problems you had might help someone to help you. Any success with any of the installs. I expect you would have to install them in the order you listed but can't help any more. Too long since I've installed any windows.
 
Old 08-30-2014, 01:41 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Quote:
Originally Posted by yancek View Post
Posting some information on what you have tried and what problems you had might help someone to help you.
Absolutely - "I tried several approaches, but unfortunately always fail." says nothing.
To install multiple MS/DOS probably requires you to "hide" the first install partition to install the second. Both will have to be primary partitions.

What about running the M$oft as virtual guests under Debian ?.
 
Old 08-31-2014, 09:37 AM   #4
werfer
Member
 
Registered: Sep 2003
Posts: 52

Original Poster
Rep: Reputation: 15
You are of course correct, excuse me. Here are the details - my latest approach looked like this:

I booted Debian from CD. I then used partman to partition like this:

dev/sda is my drive, it has got 164 GB

/dev/sda1 18 MB FAT 16 primary
/dev/sda2 1 GB FAT 16 primary
/dev/sda3 6 GB FAT 32 primary
/dev/sda4 Extended Logical
/dev/sda5 2 GB FAT 16 Logical
/dev/sda6 150 GB ext4 Logical
/dev/sda7 4 GB Swap Logical

So far, so good. I installed GRUB to the MBR, then installed Debian Linux, and then rebooted. Linux works fine. Now, my plan was to copy GRUB to a floppy disk, and then use this to unhide the partitions in question to install DOS (sda2) and Windows (sda3). And this is where I fail.

Now, after some research, I found out that GRUB has changed quite a bit since I last used it. I tried

grub-mkrescue -o GRUB2.iso
dd if=/boot/grub/GRUB2.iso of=/dev/fd0

According to the latest HowTo, this ISO should be for floppies as well as for CDs. However, I got two "Input/Output Errors" which I assume were caused by bad disks. The third one then genuinely worked fine, but aborted, telling me that there is not enough space on the disk, and that he stopped after 1.5 MB. I then mounted the floppy drive, and was told it would mount in read-only, as the block-device was write-proteced. This is not the case.

So, at the moment, I am stumped. Should I get a new floppy drive? Or should I try moving GRUB to a USB-stick? Is that possible?
 
Old 08-31-2014, 09:46 AM   #5
werfer
Member
 
Registered: Sep 2003
Posts: 52

Original Poster
Rep: Reputation: 15
I just found out that the mounting in read-only seems to be a bug in Debian. If I use udisks --mount /dev/fd0, it mounts fine in read/write:

http://forums.debian.net/viewtopic.php?f=30&t=61538

So now all I have to find out is how to create a boot disk floppy with GRUB. Will keep trying and posting.
 
Old 08-31-2014, 12:39 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,541

Rep: Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496
Quote:
Linux works fine. Now, my plan was to copy GRUB to a floppy disk, and then use this to unhide the partitions in question to install DOS (sda2) and Windows (sda3)
Does that mean you have installed Debian but have not yet installed DOS or windows 98? I would think you would have much better luck doing the opposite. Install DOS 6.22, see if it boots, then install W98 and see it if boots and if you get the option to boot DOS also from its menu. I would think W98 would recognize the DOS but have never used DOS 6.22. If the above succeeds, then you could install Debian to its partition, Grub to the mbr and just do a chainload entry in its grub.cfg file pointing to the windows partition, W98.

Last edited by yancek; 08-31-2014 at 08:29 PM.
 
Old 08-31-2014, 06:18 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Hard to argue with any of that.
Been too long since I messed with any of this, but I can't see the need of a boot floppy. {un}hiding a partition isn't magic, it's simply a different partition type - do it from any Linux bootable media. Likewise fixing grub.
Given that Debian is already installed, flipping the (primary) partition(s) should also work.
 
Old 09-01-2014, 06:26 AM   #8
werfer
Member
 
Registered: Sep 2003
Posts: 52

Original Poster
Rep: Reputation: 15
@syg00 - I daresay you are right. I will just use the Debian netinstall CD: I will unhide the Fat16, then boot from the DOS-CD to install DOS, then reboot with the netinstall CD to hide the FAT16 and unhide the FAT32, then install Windows98SE from the Windows CD (which should mess with the MBR), then reboot with the netinstall CD one last time to fix GRUB, and rewrite it into the MBR, and then check and edit the grub.conf (which has a different name in Debian.... /boot/grub/something... I'll find out).

Sounds like a plan. I will execute that asap.
 
Old 09-01-2014, 08:19 AM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,541

Rep: Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496
The new releases of Debian no longer use Grub Legacy so there will be no grub.conf or menu.lst file but rather a grub.cfg file which is considerably different and more difficult to edit that the old Grub. You should be able to find a lot of information on making changes to Grub2 at the Debian site or if you have problems, post here. I would expect installing DOS/W98 would overwrite anything related to Debian and you would need to reinstall but I don't really know.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Set system language to spanish and set time of the system correctly. nando321 Arch 2 10-24-2012 10:30 AM
My multiboot system only boots the first OS eubillie Linux - Newbie 1 09-23-2012 08:06 PM
Set up a multiboot Linux / Windows with UEFI nub Linux - Newbie 2 01-04-2012 04:46 PM
need help setting up multiboot system vspellen Linux - Software 3 01-29-2009 04:58 AM
swap partitions on multiboot system gargamel Linux - General 5 05-23-2004 06:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:53 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