LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-01-2001, 08:03 PM   #1
felixnine
Member
 
Registered: Dec 2001
Distribution: Debian unstable
Posts: 36

Rep: Reputation: 15
defying "the man"


a friend of mine told me that once you try to dual boot windows xp and linux, you're going to get screwed. i think it went something like "linux detected. linux deleted."

so, i made an ext2 partition for linux using partition magic 7.0. shortly after that, while i would be in windows, it would crash randomly. it seemed that it would crash twice, then it would operate properly.

when trying to install linux, it said that the ext2 partition i had created wasn't valid and it had to format the partiton itself. i made the partitions ext2 for linux and a swap partition. i used LILO as the boot loader, because bootmagic instructed me to for proper dual booting.

i then actually went and installed redhat linux 7.2. yes, this is my first experience with linux; i'm just looking for it to run smoothly. each time i halt the system and boot into windows, it will crash at a random time; there is no discernable pattern that i have seen yet. hell, it hasn't crashed on me yet this time.

i use bootmagic 7.0 to dual boot, installed separately from partiton magic because i couldn't access bootmagic config right from partition magic. when i fired up partition magic to try and dual boot using the built-in bootmagic, it said that there was something wrong with the first sector of the linux partition and that it could be fixed. something about moving the sector, but i didn't pay much attention, which i bet i should have.

so i guess my question becomes, "how can i stop windows xp from crashing randomly with a linux installed?"
 
Old 12-01-2001, 09:22 PM   #2
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
This is only an opinion from my experience. Partition Magic and Boot Magic have caused me a Bu**load of trouble. I would use LILO instead of bootmagic and if you don't mind reinstalling xp i would re-do the partitioning myself with fdisk or whatever xp uses. That keeps everything doing what it really wants instead of a "middleman" like bootmagic.
 
Old 12-01-2001, 09:25 PM   #3
felixnine
Member
 
Registered: Dec 2001
Distribution: Debian unstable
Posts: 36

Original Poster
Rep: Reputation: 15
okay, okay, that seems like a good enough idea, but how to i use the LILO boot loader? when i install redhat, do i have it put LILO on the boot sector of my primary drive or my logial linux partiton?

the first time, i used GRUB without knowing anything else, and i couldn't even boot into linux.

thanks

Last edited by felixnine; 12-01-2001 at 09:27 PM.
 
Old 12-01-2001, 11:14 PM   #4
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Rep: Reputation: 30
i'm not totally sure about this, but here's my experience:

LILO corrupts the MBR (boot sector of primary drive)
GRUB works very nicely.
but the difference is that i have two hard drives instead of one.

the last time i used a single drive to dual boot, it worked well as well but
the thing is i had already initially partitioned one part of the drive for windows (FAT)
and another part for linux (that time was ext2). i installed windows in the FAT partition first and then linux after.

if you're trying to re-partition an already existing windows installation to make space for linux,
i haven't met or seen anyone who has done it successfully and not crashed out yet (shows how many people use linux around me eh?
ho ho)... i think windows doesn't like sharing the space...

also, since you're using RH7.2, why not try ext3 instead?
 
Old 12-02-2001, 09:57 AM   #5
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
In fact I actually have succesfully as of now that is, still waiting, repartitioned my FAT32. In actuality resized it with partition magic to make the right amount of space I wanted for my ext2 part. I have one drive and boot LILO and have never had a problem with it.
Felixnine: Yes, LILO does need to be installed into the MBR of the harddrive like gui10 said, but i've never seen it "corrupt" the MBR. I would try it if it were me, you might be pleasantly surprised with the results instead of GRUB which i've heard is alot pickier than LILO. When you install LILO just let it do what it wants and everything should be hunky dory....
 
Old 12-02-2001, 10:41 AM   #6
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Rep: Reputation: 30
yea listen to taz is better... he's probably got more experience than me...

my post was only my unique experience alone and i still can't figure out why LILO corrupted my MBR then (haven't tried it recently as didn't want to re-install windows so many times) and i'm no expert on installation. i guess i'm just glad that GRUB works for me... no more bootup from floppy! phew...

was just sharing my experience... again, wish someone could tell me why LILO corrupted my MBR... posted up something about it when it happened to me but i guess these things just need someone around the actual installation phase to tell me what's happening...

anyway good luck!
 
Old 12-02-2001, 01:36 PM   #7
felixnine
Member
 
Registered: Dec 2001
Distribution: Debian unstable
Posts: 36

Original Poster
Rep: Reputation: 15
so i wanted to try it all over again, maybe i would have better luck the second time. i reallocated the space to my primary partiton. when it restarted and began the process, it stopped about halfway. i restarted and all i got was a blinking cursor. luckily i made those partitonmagic recovery disks, no wait, they didn't do anything.

it showed that my primary partiton was formated at phqp or 3c (hex). i had to reformat. i walked around last night and kicked all the radiators i could find, just because they were there. partitonmagic is the tool of the devil.
 
Old 12-02-2001, 02:26 PM   #8
zhenwu
Member
 
Registered: Jul 2001
Location: Taiwan (ex-Victoria BC)
Distribution: RH 9.0
Posts: 126

Rep: Reputation: 15
One other way of loading LILO would be to put it on a floppy. That way, the MBR is left intact for windows purposes and whenever you want to boot Linux just pop the floppy into the drive and away you go.
 
Old 12-02-2001, 06:59 PM   #9
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Rep: Reputation: 30
that was the way i did it... floppy boot until GRUB that is...

another suggestion i have that might work is simply use the DOS/windows fdisk to partition only part of your hard drive and reformat the FAT part (assuming you're using FAT32, not NTFS for your XP partition), and leave the rest for linux. of course, this is if you don't mind reformatting windows one more time...

that worked for me coz i don't have the money to buy any fancy partitioning tools...

u can use the primitive fdisk utility from the windows rescue disk or any linux CD u might have if your computer can be booted
 
Old 12-02-2001, 07:02 PM   #10
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Rep: Reputation: 30
ah missed out some words at the end...



Quote:
if your computer can be booted
(continued...) from the CD-ROM
 
Old 12-02-2001, 07:17 PM   #11
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Quote:
Originally posted by felixnine
it showed that my primary partiton was formated at phqp or 3c (hex). i had to reformat. i walked around last night and kicked all the radiators i could find, just because they were there. partitonmagic is the tool of the devil.
Not me, i didn't create PM! LOL But if I had i'd be hiding. It's caused me more trouble than it's worth. Too many reinstallations. I am happiest and works the best when I do as gui10 says and use fdisk to create the windows space, but leaving however much you want for Linux. The LILO floppy boot is also a good idear if you really don't want to mess with the Master Boot Record. I always think that "this" will be the time i don't have any trouble with partition magic, but i'm still looking at a reinstall very soon. Ahhh well...That's what I get for downloading warez. My computer needs a Mickey Mouse band-aid...
 
Old 12-02-2001, 10:08 PM   #12
felixnine
Member
 
Registered: Dec 2001
Distribution: Debian unstable
Posts: 36

Original Poster
Rep: Reputation: 15
allright. i've been looking around; i definitely have the funds to purchase a 10gb drive. i'm just gonna use that to boot linux. will i still have to install LILO on the primary partition?

i would just like to get this to work. at this point i'm not even running linux anymore. luckily i burned the isos onto cds before i had to reformat.

thanks though, i figured i'd get yelled at for using windows xp.

you'll see me in a few weeks after i get my new drive, i'm sure i'll have some more questions
 
Old 12-02-2001, 11:15 PM   #13
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Linux will like having it's own drive alot. That's a great way to go if possible. I would if'n I could too. Your original disk should be fine. I believe LILO will only want to be on the Linux drive and will only point to drive a as it'll be to boot. Like above, if you really wanna play it safe, yo can use a lilo floppy to boot.
 
  


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
Man Page "Standards" or Writing Guides? TGWDNGHN Programming 3 11-25-2005 08:54 PM
Problem with command "man" on a new installed kernel 2.6.9 Morz Slackware 2 01-16-2005 02:45 AM
Error in man command "sh: line 1: /usr/bin/gtbl: No such file or directory" MinA Slackware 1 09-06-2004 06:36 PM
during install partitioning Man 9.2 "missing basesystem package" nouvellebie Linux - Newbie 2 02-22-2004 06:53 AM
"/usr/local/man/man8 does not exist" maarten Linux - Newbie 2 07-09-2003 07:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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