Forum: Geek Forum
Topic: more 2000/redhat dual boot probs
started by: CatKnight

Posted by CatKnight on Jun. 11 2001,11:08
well what i did now was to write the linux boot mbr to a floppy and copy it to the 2000 hard drive, then add an entry to boot.ini. the boot menu works, and shows both OS's, but when i select linux it just freezes up with a blinking cursor in the corner.
Posted by Spydir on Jun. 11 2001,15:15
you didn't actually think M$ was gonna let you boot another company's OS, did you?...

Just make a linux bootdisk, and boot win2k as normal, and whenever you want to run linux you just stick in the disk and boot the bitch up.

------------------
Net Syndrome - < http://www.netsyndrome.net/ >
Spydir Web - < http://www.netsyndrome.net/spydirweb/ >


Posted by incubus on Jun. 11 2001,20:47
Or do what i did the first time i installed linux - burn everything i needed to CD and start over, baby!

then again with disk space so cheap these days you could get a different drive. Got each os on it's own drive now. Much better

Mike

------------------
-- incubus
As I chase the leaves like the words I never find ...


Posted by beuges on Jun. 12 2001,05:17
from my limited knowledge of linux and its booting behaviour, i don't think that what you've done is sufficient. my advice is get hold of loadlin, and read the documentation on how to install and use it. i think you just copy your linux boot image (vmlinuz or something like that) onto your win2k drive, and pass that to loadlin. what it does is basically loads your linux boot image from within dos, rather than from the linux boot-up. so you'd then edit your boot.ini to run loadlin with whatever parameters are required. of course, i could be talking absolute crap... i'm writing a bitch of an exam in a few hours, so my mind isn't functioning right now.
let me know if it works, so when i get around to installing redhat 7.1 i'll know what to do
Posted by beuges on Jun. 14 2001,04:47
true, but unless you want to muck about with your bios boot device settings each time you want to switch OS's, you still need to install some sort of boot loader.
Posted by beuges on Jun. 26 2001,06:24
< http://thrish.dyn.ca/loadlin.html > explains how to set up dual boot between win98 and linux... i guess you should be able to work from there
Posted by kai on Jun. 26 2001,23:08
quote:
Originally posted by CatKnight:
well what i did now was to write the linux boot mbr to a floppy and copy it to the 2000 hard drive, then add an entry to boot.ini. the boot menu works, and shows both OS's, but when i select linux it just freezes up with a blinking cursor in the corner.

This won't work. You have to have lilo install its boot sector into your root partition, then do:

code:
dd if=/dev/{root device}of=bootsect.lnx count=1 bs=512

and then copy the bootsect.lnx file to your NT partition (either by copying it directly, or copying it to a FAT partition or floppy), and use that as the boot sector file in boot.ini. However, you will have to regenerate this if you update your kernel.

The process is fully covered in a Mini-HOWTO. You can see it at < http://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader.html. > If you eventually start using Grub instead, you can do something similar, and that will let you avoid the difficulty of regenerating the boot sector whenever you update the kernel.

This message has been edited by kai on June 27, 2001 at 06:11 PM


Posted by KL1NK on Jun. 27 2001,05:36
It's quite a bit easier to setup a dual boot with win98 and linux, nt/2000 is a bit harder because of it's bootloader.
this should help you out: < http://www.uoguelph.ca/~jomstead/ >

Posted by CatKnight on Jul. 02 2001,11:40
thats what i did to begin with, and i got that info off linuxdocs in the first place. it still doesn't work. when i select the linux option in the nt boot manager it just freezes up.
Posted by ytsejammer on Jul. 02 2001,18:46
Nothing useful to say, just want to get leet haxor
Posted by incubus on Jul. 05 2001,19:39
no f00, i have 2 drives and lilo is on the main one so it gives me the option of linux or windows.

a few paydays time and i can but each drive in it's own box. comprende?

Mike

------------------
-- incubus
As I chase the leaves like the words I never find ...


Posted by kornalldaway on Jul. 07 2001,13:58
the most i have done was run slackware, windows 200 advanced server and windows me all on the same machine. now to acheive that and save myself lots of trouble of customly set up the boot files, i first installed me, then 2000 advanced server and had the 2000 dual boot swotching the systems. then i installed slackware and during the installation it told me that another bootable partition is found and if i would like to set it up in lilo. so i did. then at startup lilo asked me to choose either dow or linux. once i have chose dos, win2000 boot menu would pop up. it all worked perfectly. but then i ran out of disk space and i got rid of unix, and upgraded ME to XP.
but the idea is u have to use lilo to boot bot Microsoft OS and linux. or u can use alternative dual boot programs that support linux, and i have seen quiet a few of those around, so finding one shouldn't be a problem.
Posted by Rogue on Jul. 10 2001,18:49
I was dual booting linux and 2K (Server, and Win98 for backwards compatibility) for a while, and truth be told it's a lot of hassle. First of all, what I didn't find out until it was too late is that 2kServer (and I assume 2k Pro) does not seem to recognise any drive with linux on, even if it's partitioned.

In the end I got hold of System Commander, installed 98, then 2000 then Linux. I found that once I'd finished I had to reinstall System Commander over the top to make it work - the way Linux and 2k mess around with the MBR is a pain at times. Well worth it though. Linux will still need a completely seperate HD, at least from my experience.

If you can, hold out to get a new box. Linux can run well on some really cheap hardware, and the investment it worth it.


Posted by Tattered on Jul. 11 2001,04:19
hmm.. was just about to burn slackware and try dual booting it with wink2kpro/winme.. now you've gone and frightened me.. will it work for me like that other guy? with lilo asking for either dos or linux? .. dear god I hope so. Time to burn me slackware .. oh and goodluck with your problem.
Posted by CatKnight on Jul. 11 2001,15:49
lilo won't boot ntfs drives and nt won't boot linux drives. sux for m3
Posted by incubus on Jul. 11 2001,20:36
Yup. Been there, done that

------------------
-- incubus
As I chase the leaves like the words I never find ...


Posted by kornalldaway on Jul. 11 2001,20:46
quote:
Originally posted by Rogue:
Linux will still need a completely seperate HD, at least from my experience.

no it won't
i had 2000 advanced server, me and linux all installed on a 6.4 gig hard drive
and it sorda worked, but i was running out or space for virtual memory under windows and was unable to install many applications i needed, so i got rid on linux and bought a new 30gig hard drive.


Posted by Rogue on Jul. 12 2001,00:18
They work together fine? It was probably me doing something really stupid when I installed it - wouldn't be a first time

If you don't mind me asking, what order did you install them in and how were your HDD's formatted? Which boot manager did you use? I think that can make a lot of difference and I'd like to be able to get them to work together. The info might be useful for CatKnight as well.

My apologies for leading anyone to think they can't co-exist, I guess I'm wrong on this one, heh.

This message has been edited by Rogue on July 12, 2001 at 07:20 PM


Posted by Tattered on Jul. 12 2001,05:03
but.. it'll work if everything is on win32 right? I never trusted ntfs

This message has been edited by Tattered on July 12, 2001 at 12:04 PM


Posted by DngrMouse on Jul. 14 2001,00:15
My Linux Mandrake partitions were strangely overwritten when I installed Windows 2000. Last time I make the mistake of installing Linux first after I format...
Posted by CatKnight on Jul. 15 2001,16:55
if i install linux first then windows 2000 won't install at all because it wants the first partition on the hard drive. i tried it this way several times and there's no way to do it. if you install linux on a fresh hard drive it will always write the mbr to the first sector unless you made it not write the mbr at all.

if i install windows first, when i install linux it over writes the windows 2000 mbr so i can't get into windows at all (unless i don't write the mbr to begin with, then i have to boot from a floppy, which is what i am doing now anyway)


Posted by demonk on Jul. 15 2001,18:50
Here is what I did to get Win2k Pro and Mandrake 8.0 working link friends. First of all, forget using the NT boot loader to pick your OS. MS made it almost unpractical to us it to boot anything but MS OS's. First, start with a nice, empty harddrive. Then, install Win2k, but only give it one partition and don't use all the drive. So, on my 30GB harddrive, I make a 19GB partition a the front of the drive and told Windows to install there. Ok, get Win2k up and running, it's on to Linux! When you install Linux, just partition the empty space at the end of the drive like you normaly would for a Linux installation(/, swap, /usr,...) and then install. When I used Mandrake, and it came time to figure out how I was going to boot the thing, it says that it found another OS and added it to my boot listing. Cool thing was, it recognized it as NT and so listed it as NT. Then I let it install to my MBR and rebooted. Then, instead of using that old, obsolete boot loader that comes with Win2k, I was able to use the nice, graphical version of Lilo that comes with Mandrake. And you can add other boot iteams such as Floppy or CD-ROM to the list. When I select the NT option, Win2k starts booting and has no problems with the Linux partitions at all. Hope that helps.
Posted by Tattered on Jul. 16 2001,05:16
What distribution of linux are you installing? I installed slackware 8.0 after I already had win2k/winME dualbooting and now lilo pops up right when my computer boots and asks if I want to goto DOS or Linux. If I choose Dos it brings me to the normal win2k boot menu (choose between 2k and me). I used FAT32 for my win2k though, didn't bother going to NTFS. Also now in linux I have my windows drives mounted, so I can grab files off of them. /fat-c/ and /fat-d/
Posted by damien_s_lucifer on Jul. 16 2001,19:55
Here's my setup.

1. Win98 on a FAT32 partition
2. TWO installs of Win2K Pro on NTFS partitions
3. Slackware Linux on an ext2fs partition.

Here's how to pull it off -

1. Install Win98 FIRST.
2. Use FDISK to create another FAT32 partition, but DON'T format it - this is a placeholder for what will become your ext2fs partition.
3. Install Win2K. Make sure to create a partition for it during setup
4. Delete your placeholder FAT32 partition, and install Linux on ext2fs.
5. When installing LILO, install to the MBR and make your linux partition bootable. When your machine restarts, it should boot directly into Linux. THIS IS WHAT YOU WANT.

Once you've verified that your system boots into Linux, you can edit /etc/lilo.conf to use /dev/hda1 as the default boot partition, and /dev/hda2 (or wherever Linux is installed) as your "linux" partition.

6. When all is said and done, the PC should boot into Windows like this :

MBR -> lilo
lilo -> ntldr
ntldr -> your choice of Micro$oft OS


Posted by damien_s_lucifer on Jul. 16 2001,20:14
come to think of it, there's probably an easier way to do it without installing LILO to the MBR :

1. Install Linux to an ext2fs partition, make that partition active, and install LILO to the ext2fs superblock. Making your ext2fs partition the active one is the KEY to multi-booting.

2. In Linux, edit /etc/lilo.conf to add in the other partition you want to boot. Since NTFS boots just like any other partition, LILO should boot NTFS without problems.

3. Make sure to run liloconfig after editing lilo.conf, or LILO will continue to use the old configuration.


Posted by incubus on Jul. 16 2001,21:43
quote:
Originally posted by damien_s_lucifer:

3. Make sure to run liloconfig after editing lilo.conf, or LILO will continue to use the old configuration.


Correction, run /sbin/lilo after editing /etc/lilo.conf

------------------
-- incubus
As I chase the leaves like the words I never find ...


Powered by Ikonboard 3.1.4 © 2006 Ikonboard