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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-28-2004, 01:16 PM
|
#1
|
LQ Newbie
Registered: Oct 2004
Posts: 8
Rep:
|
windows after linux
Hi there!
I have this kind of problem:
OS: Suse Linux ent. srv. 9.0
2 disks under sataraid controller SiI3114 (RAID presently disabled)
fdisk -l gives:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 131 1052226 82 Linux swap
/dev/sda2 * 132 19456 155228062+ 83 Linux
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 5099 40957686 e W95 FAT16 (LBA)
The current only sdb partition was created when trying to install W2k professional, after removing the existing, empty ones.
Of course, windows wants to write the MBR on disk0 (/dev/sda), but it does not recognise the linux partitions.
mount gives:
/dev/sda2 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hdc on /media/cdrecorder type subfs (ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)
/dev/hdd on /media/cdrecorder11 type subfs (ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)
/dev/fd0 on /media/floppy type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid)
usbfs on /proc/bus/usb type usbfs (rw)
So I cannot find any space in /dev/sda to let windows have its MBR or even install, without affecting the existing, mounted (and fully covering the disk) linux filesystem.
The naive idea was to let the two OS have two different disk to enjoy themselves, and possibly "talk each other" by files in a FAT32 partition to be created.
Am I hopeless? Can I configure GRUB or LILO or install GAG to "hide" the whole disk0 and make the w2k installation run? And what if I physically unplug disk0 and start from scratch an installation of w2k, to later plug disk0 in again (hopefully recovering the linux installation and managing the dual boot from there)?
TIA and sorry for being too wordy and too naive
Nicola
|
|
|
10-28-2004, 03:29 PM
|
#2
|
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038
Rep:
|
on multi OS systems, you have to install windows first, as its so crappy it wont allow you to install it along side another OS very easily
|
|
|
10-29-2004, 10:30 AM
|
#3
|
Senior Member
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170
Rep:
|
If you can use your installation CD as rescue CD or a liveCD or you have some other way of getting into a linux environment you can just install windows and then use this method to change your lilo and grub settings to make it work again. Not as easy as working out of the box, not hard enough to reinstall it for or do windows first.
|
|
|
11-02-2004, 06:31 AM
|
#4
|
LQ Newbie
Registered: Oct 2004
Posts: 8
Original Poster
Rep:
|
news
Hi everybody,
Thanks for your suggestions.
Anyway I eventually came across a nice HOWTO on the web (italian version on http://it.tldp.org/HOWTO/Linux+Win9x+Grub/index.html), where a similar situation was considered (although for w9x-FAT32).
Well, as I had GRUB installed, I was able to map the drives in order to make Windows see the second drive as first.
W2k installation started, but now I have an hardware compatibility problem as I get a "PAGE_FAULT_IN_NONPAGED_AREA" error message, that also quotes ACPI.sys module as involved.
I tried to make it boot with acpi=off option in GRUB, but the error is still there.
I'm now trying to install XP.
I wonder if is a matter of 32 vs 64 bit processor architecture.
BTW, does anybody know how to configure GRUB so as to boot from CD?
Thanx
N.
|
|
|
11-02-2004, 11:55 AM
|
#5
|
Senior Member
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170
Rep:
|
Re: news
Quote:
Originally posted by arturo63
BTW, does anybody know how to configure GRUB so as to boot from CD?
|
I don't think you'll let grub start that. Don't you mean just booting from the CD you put in? If it doesn't yet you have to change some BIOS settings to make it work.
|
|
|
11-02-2004, 12:28 PM
|
#6
|
LQ Newbie
Registered: Oct 2004
Posts: 8
Original Poster
Rep:
|
Re: Re: news
Quote:
Originally posted by darkleaf
Don't you mean just booting from the CD you put in?
|
No, BIOS is already OK in this respect.
What I need is a GRUB-managed boot from CD because I have to map the drives in order to "cheat" windows about where to write its MBR.
Nevertheless, maybe BIOS is still involved in this, because what I have is that GRUB only recognises my SCSI devices:
(hd0)=>/dev/sda
(hd1)=>/dev/sdb
(fd0)=>/dev/fd0
while I could not find a way to "introduce" to GRUB either /dev/hdc or /dev/hdd that are the (IDE ?) CDrom drives.
no mention on this in GRUB documentation or web page,
I've found something on linuxforums.org, but the case mentioned there concerns only IDE devices.
Should I change anything in the BIOS?
TIA
N.
|
|
|
02-04-2005, 11:50 PM
|
#7
|
Member
Registered: Aug 2004
Location: pittsburgh, pa
Distribution: gentoo
Posts: 81
Rep:
|
up from the dead.
did you ever figure out how to use grub to trick the windows cd? i'm trying to do the same thing (same guide) but i can't figure it out. my cdrom drive is /dev/hdc and in /boot/grub/devices.map i have:
(hd0) /dev/hda
(hd1) /dev/hdc
and in the menu.lst file
title windows install cd
map (hd0, 0) (hd0, 9)
map (hd0, 9) (hd0, 0)
chanloader (hd1)+1
and then it says hd1 invalid device specification or device does not exist or something. i've tried dozens of different things but nothing let's grub see my cdrom drive. the bios is setup ok.
anybody know how to do this? the grub documentation makes no mention of cdrom drives and i've been on google for about 9 hours.
|
|
|
02-05-2005, 02:26 PM
|
#8
|
Member
Registered: Aug 2004
Location: pittsburgh, pa
Distribution: gentoo
Posts: 81
Rep:
|
alright nevermind it doesn't look like this is going to work at all.
windows thinks it's the center of the universe and has to have sector 0 of the disk. i installed windows first and then ubuntu and i can dual boot now. much easier that way.
as soon as i'm done with this class that uses this stupid software on cd i'm gonna trash windows with as much spyware etc as possible. yes bill, you're primary purpose for your software is my amusement.
|
|
|
02-05-2005, 02:28 PM
|
#9
|
Senior Member
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170
Rep:
|
Windows will always need to be on the master hd and it'll overwrite the MBR. The only way which might work is install linux, install windows, use the linux CD as rescue CD to enter single user mode and run lilo to get the MBR right again.
But that's because linux is giving windows a place of its own in there as well.
Last edited by darkleaf; 02-05-2005 at 02:29 PM.
|
|
|
All times are GMT -5. The time now is 10:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|