LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-29-2003, 05:03 PM   #1
Dobie
Member
 
Registered: Nov 2003
Location: Halifax N.S.
Distribution: Mandrake 9.1
Posts: 35

Rep: Reputation: 15
Question Dual boot problem - have not found this in my backreading


Hello all and thanks for providing this forum for newbies like me....
I've read back a number of pages here but not finding just what I'm looking for.

I have 2 hard drives.. Win2k on HD1 and Mandrake 9.1 on HD2.

Win2k works fine as master.
Mandrake 9.1 works fine as master.

But I am unable to boot to windows frome Lilo when Mandrake is master.
I starts out fine enough but then I drop to 'dos' (black screen with white txt) where I get about 8 charactors of symbols and the system hangs.

I belive I have to add a line to fstab? to get both OS's running?


I installed mandrake without the win2k HD in the computer and am unsure if this lack of *nix info in the MBR Makes a difference or no?

Thanks a lot for you time
Dobie.
 
Old 11-29-2003, 05:27 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
It is unknown how you are going to place your drives.

You need to decide where you want the final position of the drives to be, edit /etc/fstab for where mandrake ends up, edit your /etc/lilo.conf for your multiboot os positions and run /sbin/lilo to install lilo if needed.

LILO fails: Error messages and their interpretation
LILO mini HOWTO
Multiboot with LILO HOWTO
LILO, Linux Crash Rescue HOW-TO
Installing a bootloader

# Mandrake links
Mandrake home page
Mandrake Users website
Easy urpmi config for Mandrake
urpmi mini-HOWTO
All You Ever Wanted to Know About Urpmi But Never Dared Asking Before
Easy software management: Red Carpet
Maximum RPM
rpmfind
You didn't install the developmental packages? As root, command:
urpmi gcc
An Introduction to the Midnight Commander. You can install it by commanding:
urpmi mc
Midnight Commander home page

Last edited by fancypiper; 11-29-2003 at 05:30 PM.
 
Old 11-29-2003, 05:49 PM   #3
Dobie
Member
 
Registered: Nov 2003
Location: Halifax N.S.
Distribution: Mandrake 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks a lot for the links...
I'll read up some more to get this up and running.

Just to clear on what I did..
I got new hd..
formated/ partioned and installed 2k.

then removed the 2k disk.
made the other master.. formated and installed mandrake.
split up the 40 gig as and for 2 15gig's in Fat32, 1 gig swap, and the rest (at the end) ext3.

Now I got that one as master and have readded the win2k drive as the slave.
 
Old 11-29-2003, 05:54 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
I think you just add the stanza you need for 2k in your /etc/lilo.conf, run /sbin/lilo to effect changes and re-boot to check, IIRC. I like and use grub now.

To see the 2k stuff, you need to add an entry to /etc/fstab and make a mount point for it.

Last edited by fancypiper; 11-29-2003 at 05:55 PM.
 
Old 11-29-2003, 05:57 PM   #5
otis2003
Member
 
Registered: Nov 2003
Location: PEI, CANADA
Distribution: Ubuntu/Fedora/Gentoo
Posts: 53

Rep: Reputation: 15
Dual boot problem - have not found this in my backreading

For what it is worth, I would have physically installed both drives (one as master and one as slave). Install W2K on the C: drive. Leave the other drive blank. Boot into the Linux install routine on CD. When it asks where to install, use whatever amount of free space you like on the empty drive. Make sure you have Linux put Lilo or Grub at the begining of of the MBR. After the install and on the first boot, it should show both W2K and Linux on the menu.



Cheers!
 
Old 11-30-2003, 10:07 AM   #6
Dobie
Member
 
Registered: Nov 2003
Location: Halifax N.S.
Distribution: Mandrake 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
Well I've read through the doc's linked above... I also have a couple of books I've looked over without success.


The problem i'm having is that all of the examples provided have either both OS's on the same HD or windows was present when GNU/linux was in installed.

On the linux HD there are 3 partitions.
Fat32 -> bulk files
Swap,
and Ext3.
I can see the Fat32 fine from mandrake

On the second HD there are 6 partitions.
C: - NTFS - 8 gig - win2k
D: / E: - NTFS - his/wifes personal data files
F: / G: - Fat - 300 mb - Pageing file and cache
H: - NTFS - bulk data files.


Once I put the Linux drive as master.. and hence the mbr reflects Lilo..
the Fat on that drive will move my Win2k OS from C: to D: .
My understanding is that this should not cause a problem with 2K?

in mandrake I am unable to:
mount /dev/hdb /mnt/win2k - or - mount -t /dev/hdb /mnt/win2k
I get an error bout either too many mounted drives or (more likely) a superblock error. None of the examples i've see tell me to specify for NTFS.

Given that I removed the windows HD when I installed GNU/Linux...is there anything special I need to do bridge this gap?

Thanks for any help as I continue to trip over the little things..
 
Old 11-30-2003, 10:17 AM   #7
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try add this to your lilo.conf (dont forget to run lilo)

other=/dev/hdb1
label=win2k
boot-as=0x80

When you mount you need to specify the partition, so try
mount -t ntfs /dev/hdb1 /mnt/win2k
 
Old 11-30-2003, 11:14 AM   #8
Dobie
Member
 
Registered: Nov 2003
Location: Halifax N.S.
Distribution: Mandrake 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
No work..
Getting same as earlier.
System speaker beeps like it's an department store alarm
and gibberish fills the screen - same effect as downloading in netscape sometimes where it opens the file instead of downloading so you hit shift and then download to fix it...


in vi it cased the
boot-as=0x80 in a red block background
Here is what my Lilo.conf has:

Interesting.. I made the changes as per the above post... and I run lilo (up in terminal confirms this).. but currently these changes are not listed?

boot=/dev/hda
map=/boot/map
vga=normal
default="linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw

image=/boot/vmlinuz
label="linux"
root=/dev/hda5
initrd=/boot/initrd.img
append="quiet devfs=mount hdd=ide-scsi acpi=off"
vga=788
read-only

image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda5
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi acpi=off"
read-only

image=/boot/vmlinuz
label="failsafe"
root=/dev/hda5
initrd=/boot/initrd.img
append="failsafe devfs=nomount hdd=ide-scsi acpi=off"
read-only

other=/dev/hdb1

label="windows"
table=/dev/hda

other=/dev/fd0
label="floppy"
unsafe
---------------------------------------------

I had placed # before:

# other=/dev/hdb1

# label="windows"
# table=/dev/hda

and added the above post msg in there instead.. is there something i'm missing here?

I've also tried with table=/dev/hdb and hdb1 and other=/dev/hdb but got 13 charactors of symbols immidiatly after selecting windows for the OS and the system hanged.

---------------------------------------------

Last edited by Dobie; 11-30-2003 at 11:20 AM.
 
Old 11-30-2003, 11:16 AM   #9
Dobie
Member
 
Registered: Nov 2003
Location: Halifax N.S.
Distribution: Mandrake 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
Should mention that I have not manually changed this file before today and let Mandrake use defaults for the install.

Man it's harsh to be soooo new again....
 
Old 11-30-2003, 01:20 PM   #10
Dobie
Member
 
Registered: Nov 2003
Location: Halifax N.S.
Distribution: Mandrake 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
K... I've been trying some things...

I have removed the windows boot option compleatly (# other=/dev/hdb1 etc...)
Realized that I forgot to :w (save) the file....(vi is new to me too).

Now when I reboot I noticed this error which comes up twice (was there before.. just never noticed it).

I don't have all of the error (there a lilo log file? I'll have to read up)
but here's most of it:

---------
mount: wrong fs type of bad option, bad superblock on /dev/hda
---------

Also.. I had but at somepoint lost the options I had for rebooting?
I log out of KDE... then choose reboot and it's empty.
I had the boot options in there before but now can only choose to halt the system?

Anyone know what I'm doing wrong?
Thanks
 
Old 11-30-2003, 01:49 PM   #11
otis2003
Member
 
Registered: Nov 2003
Location: PEI, CANADA
Distribution: Ubuntu/Fedora/Gentoo
Posts: 53

Rep: Reputation: 15
Let's try this again ...

I think your problem here is, you physically went and removed a drive before you installed Linux. If you were to start with two physical, unformatted, and functioning hard drives in your system and then .....

1. Install Win 2000 on C
2. Install Linux on D

I do not believe you would have these problems. Your boot loader (whether Lilo of Grub) should recognize both your Win 2000 and Linux paritions.

IMHO

 
Old 11-30-2003, 02:06 PM   #12
Dobie
Member
 
Registered: Nov 2003
Location: Halifax N.S.
Distribution: Mandrake 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks otis2003...

I understand that that method would work.
I didn't do it that way because I wanted to be sure that if i removed the linux HD that the Windows would still boot fine?

If I did put the drives in that way (windows master / linux slave), and reinstalled linux to get onto the MBR.

And then removed the linux HD for whatever reason in the future... would be as simple as running "fdisk /mbr" on the windows drive and then rebooting windows?


Being able to remove the linux drive without effecting the windows drive is something I would like to do incase I build another computer and need this hard drive...

please advise and thanks for the time man...
 
Old 11-30-2003, 03:01 PM   #13
otis2003
Member
 
Registered: Nov 2003
Location: PEI, CANADA
Distribution: Ubuntu/Fedora/Gentoo
Posts: 53

Rep: Reputation: 15
Removing drives

Well, if at some point you feel you must remove the slave drive with Linux on it, then all you have to do is boot the computer using the Linux install CD.

I cannot speak for other versions of Linux (although they are likely no different), but with Mandrake, you simply hit the F1 key at the first screen. At the prompt, type "rescue" without the quotes.

At the rescue screen, you can tell it to restore the Windows boot loader. This will effectively remove Lilo or Grub, and you should be able to remove your slave drive with Linux on it.
 
Old 11-30-2003, 03:03 PM   #14
otis2003
Member
 
Registered: Nov 2003
Location: PEI, CANADA
Distribution: Ubuntu/Fedora/Gentoo
Posts: 53

Rep: Reputation: 15
By the way

I notice you're in Halifax. I am in PEI. Small world here on the net.

 
Old 11-30-2003, 06:53 PM   #15
Dobie
Member
 
Registered: Nov 2003
Location: Halifax N.S.
Distribution: Mandrake 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
Lol.... it is a very small world.. I just recently moved back from North Carolina where the first people I met were Newf's (as am I). He's older brother went to school with me for grades 2-3-4 and 10 -11 -12....

It's good to know about the rescue screen / restore boot loader. The removes the only real concern I had about dual booting the systems with lilo/grub on the win2k HD.

I'll put them back the first way with Win2k as master and linux slave and reinstall mandrake or is there a simpler way to get lilo/grub into the mbr?

Take it easy man and enjoy the warm fall. They've had snow in Boston a couple of times now.
 
  


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
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 10:20 PM
Problem with dual boot/dual drive setup Norab Linux - Hardware 10 08-29-2005 04:13 PM
Dual Boot xp/linux "autochk not found" mattrieck Linux - Newbie 4 03-05-2005 01:19 AM
yoper install fail on dual boot win-linux system coz `linux partition not found` coolview210 Yoper 5 11-24-2004 03:04 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 09:49 PM


All times are GMT -5. The time now is 06:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration