LinuxQuestions.org
Review your favorite Linux distribution.
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 01-03-2004, 01:22 AM   #1
f89276704
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Rep: Reputation: 0
New install of Mandrake 9.2 help needed.


I have an XP box on which I want to install Mandrake 9.2 I have a 60 Gig drive which is currently partitioned into 2 x 30 Gig drives. XP is on the pri partition now. The second 30 Gig partition is basically empty. (A few games) I would like to install MAn 9.2 to the second partition and be able to boot to Man 9.2 via a floppy disk only. (From what I have read, I can do this ???)

Until I'm used to this new OS I want my PC to load XP as per normal, but once I insert the floppy on bootup, the PC will boot into Man 9.2

Is this possible ? If so, how do I go about it ? Would the floppy be the linux bootloader in this case?

Lastly, will I lose any data on the second partition during and/or after MAn 9.2 is installed ? (Can I leave the games there ?)

Thanks for reading and for any help you can give me.

Sean.
 
Old 01-03-2004, 01:40 AM   #2
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
Yes u can run linux from that floppy, but what if the floppy turns bad. Always better to install a boot loader and alos keep the floppy

The boot loader can be configured to run windoze by default. It will show the two os's insatlled on ur machine and u can select which one to boot into.

As Linux and windoze have different file systems, you will have to format the partition which has the games. That is u will lose the games/data on that partition.
 
Old 01-03-2004, 07:43 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,711

Rep: Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749
If you want to keep the games MDK can resize the existing paritition. It is best to create some unallocated space on the drive and let the installer autopartition using that space. linux uses its own file system and creates 2 or more partitions depending on how you select to install.

No problems with booting linux from a floppy.

I suggest reading the installation documentation first. www.linuxmandrake.com
 
Old 01-03-2004, 12:20 PM   #4
f89276704
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Original Poster
Rep: Reputation: 0
OK, sounds good so far. Three more questions though.

1- Can I not make copies of the boot floppy ?

2- How much space do I need for Mandrake 9.2 to operate efficiently ?

3- If I install the boot-loader on the hard drive, and later decide I want to remove Linux, how will I get rid of the boot-loader and go back to a normal XP bootup ?

Thanks again.
 
Old 01-03-2004, 06:05 PM   #5
cdlen
Member
 
Registered: Oct 2003
Location: EU
Distribution: RH7.2 Mdk9.2
Posts: 39

Rep: Reputation: 15
1. Boot floppy: during installation you'll be asked if you want one. After that you can make more using the control center (i'm not too sure of the name that's been a while.. That's the graphical interface where you can change configs)
2. Linux doesn't need more than a few gbs to get going; besides that there is all the packages on the cdroms you really want to try out. With 10gb you can already go a long way. As of data remember you can also access your data on the Win partition. One more thing: you need at least 2 partitions : one for linux proper and one for the swap file (350Mb for 256Mb memory ram is ok). The linux partition is best kept on a primary partition (like Win C. I prefer to use more than one partition for Win too . At least to keep my data away . These can be kept on an extended partition (this can be done using the XP partition manager). The Linux swap file can go there too.

3. Boot loader. Depends. There is several way to do it. Like you said you can work with a floppy. Using Lilo the loader can be put both on hda (that's the master boot record for the whole hard disk) and on a floppy. That's just a matter of changing a line in /etc/lilo.conf:
boot=/dev/fd0 vs boot=/dev/hda
and running lilo on that afterwards.
To be able to start Win from lilo just add
other=/dev/hda1
optional
label=WINDOWS
before running lilo always check beforehand !
#/sbin/lilo -v -t

If put on hda you can always get back at original loader using
fdisk /mbr
from dos. In fact you are more likely to get the alternative problem where Windows resets the Master Boot Record to its original self and you loose your way to the Linux partition - that's where the floppy can save you the day. (That case happens everytime you reinstall Windows !)
When you asked for a boot floppy during install i don't think you get a lilo one, more like a grub one (depends on the distro). The principles are the same but i'm not familiar with the details. Read the docs (use locate to find them).Notice the term boot floppy is misleading: you boot from the floppy but the kernel image can be on the linux partition or on the floppy. When using lilo 'manually' you have to copy the image yourself. Usually the image on the hd is fine; that's only when recompiling the kernel that you get the problem..
You may also put the loader on hda2 (the linux partition) and then use an alternative loader like Ranish Partition Manager. This gives you more freedom to experiment with new OSes.
Remember : -always have a boot floppy handy
- if really stuck you can always boot from a single floppy/cdrom linux distro and reinstall the loader on your hd using the /etc/lilo.conf you already have

It is a bit hard at the beginning but when set up you won't understand what the fuss was about..
 
Old 01-03-2004, 06:11 PM   #6
f89276704
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Can I go with a floppy bootdisk first and after I have Mandrake installed, install the loader on the harddrive using the systems control panel ?
 
Old 01-04-2004, 12:03 AM   #7
f89276704
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Original Poster
Rep: Reputation: 0
OK, I'm in balls deep now. I installed MAndrake 9.2 I setup Lilo on a floppy bootloader. It works well. What caught me by surprise is that now I even need the floppy to boot into XP. Is this normal when using the floppy bootloader method ? If I boot without the floppy in in get the NTLDR missing error.

Also, during the almost flawless install, the networking portion of the install seemed to fail. Once everything was finished, I went in and tried to configure the NIC with not success. When I run the auto configure tool it tells me that no parameters are set for the network card. I can see it in the list of hardware with the sound card, etc.... Almost seems like it needs a driver or something ??

I have a Soltek SL-75FRN2 motherboard with built in LAN.

Any help appreciated here, Im dead in the water so to speak.

Sean.
 
Old 01-04-2004, 01:18 AM   #8
Jose Muņiz
Member
 
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248

Rep: Reputation: 32
Get yourself a DOS boot disk. Boot from it, and type

fdisk /mbr

Now you should have your computer boot directly into XP and your diskette should be able to make you boot into Linux.
 
Old 01-04-2004, 07:00 AM   #9
laceupboots
Member
 
Registered: Dec 2003
Location: Houston
Distribution: Windows Vista/ XP/ Mepis
Posts: 304

Rep: Reputation: 30
I use a floppy to boot mine, has lilo on it, but if I don't use the floppy,then it boots directly into XP.
 
Old 01-04-2004, 11:11 AM   #10
Jose Muņiz
Member
 
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248

Rep: Reputation: 32
If you are the same person that posted first, then that's what you wanted, wasn't it?

If you are another person (hehe) and you want to have lilo installed in your computer, then use your disk to login into Linux and then

sbin/lilo -v -t
 
Old 01-04-2004, 11:30 AM   #11
laceupboots
Member
 
Registered: Dec 2003
Location: Houston
Distribution: Windows Vista/ XP/ Mepis
Posts: 304

Rep: Reputation: 30
No I'm not the first person that posted (I don't have balls) but I will try that anyway. I replied to the thread because he ask if it was normal to have to use the floppy to boot in XP. I'm very new but it's not how my comp is set up.
 
Old 01-04-2004, 01:24 PM   #12
cdlen
Member
 
Registered: Oct 2003
Location: EU
Distribution: RH7.2 Mdk9.2
Posts: 39

Rep: Reputation: 15
lan queries:start another thread please !
ntldr: the nt loader : it is located on the c drive (you can make a copy of it if you installed nt/xp before) . Linux would never touch it. If you had xp working and then installed linux (in that order !) perharps it is a problem with the boot.ini file (on c drive too) . This is a text file . Quite easy to understand/modify it..
 
Old 01-04-2004, 01:32 PM   #13
f89276704
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Original Poster
Rep: Reputation: 0
OK, this is weird. Heres what I did. I booted off the XP cd, entered repair mode and did a mbrfix. I rebooted without the floppy and XP loaded as per norm. I shut down, inserted the floppy, booted to linux and shut down again. Popped out the floppy, attempted to reload XP,....NTLDR missing again.

I did the same procedure again and once again, NTLDR went missing.

OK, I'm baffled.
 
Old 01-05-2004, 05:12 AM   #14
cdlen
Member
 
Registered: Oct 2003
Location: EU
Distribution: RH7.2 Mdk9.2
Posts: 39

Rep: Reputation: 15
Check your C drive, i bet the ntldr file is still there.
Linux wouldn't touch a Win partition unless you'd tell it to do so.
What normally happens is that during booting up, the Master Boot Record (mbr) - which is simply a very short piece of code plus a partition table- directs the pc to the partition that holds the OS to start. (Check Ranish's site to read more)
The ntldr is bit like that but it is located as a simple (~150kb) file on the C drive. There is also boot.ini also on C with the list of OS/partition to choose from at startup.
While the mbr is automatically launched at startup , ntldr is only excecuted if the mbr starts the partition with holds it - which should be hda1 (aka the C drive).
Windows is quite touchy about that.
I can only guess but either ntldr is not where it should be ( i repeat hda1, C drive) or the mbr was changed during the linux session. The fact you got 'ntloader missing' tells me that sg of Windows try to start.
I wonder about your partition scheme..
 
  


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
Configuring internet again on a fresh Mandrake 10 install, advice needed xxvm1 Mandriva 1 10-31-2004 01:55 PM
Mandrake 64bit needed! snoopyswiss Mandriva 0 09-10-2004 05:25 AM
help with Mandrake 10 needed fntz77 Linux - Newbie 0 03-28-2004 07:55 AM
New install of Mandrake 9.2 help needed. f89276704 Mandriva 3 01-04-2004 12:32 PM
New to Mandrake, Help Needed! phi_rad Linux - Newbie 14 11-18-2003 07:28 AM


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