LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 05-19-2004, 12:54 AM   #1
chriskar
LQ Newbie
 
Registered: May 2004
Location: greece
Distribution: suse 9.1 pro
Posts: 13

Rep: Reputation: 0
Question installing suse 9.1 blow away xp -help


hi to all of you , the title says it all . my system is an p4 2.6
with 2 hd raid 0 total space 240 gb
i have xp in the first primary partition and an extented partition with 4 logical
partititons .
i made with partititon magic 8 a logical partition to put in linux and yast told me after checking my system that yes i have partitions but it cant't recognize them.
it ask me if i wanted to make an automatic installation and after my confirmation
yast formatted automaticcaly the primary partition with xp on it and it loaded
the first cd after loading it it rebooted and the message was
grub disk error.now i have nothing on my pc . XP are gone and linux don't
work . please help me to make a clean installation with both OS.
THANKS TO ALL
 
Old 05-19-2004, 02:02 AM   #2
drowstar
Member
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware, Gentoo, Fedora
Posts: 205

Rep: Reputation: 30
Hi chriskar,
from your description it sounds like you are in kind of a mess . I am sorry for that! I really cant imagine, why this would have happened. Anyways, to get you your system back, let me share some pieces of information that might be useful (be aware that every system and as such every installation is different. Be flexible.).

1) If you have a linux boot cd handy, you might want to boot that first and check if there is really nothing on your computer. If you are certain or dont care, skip this step.
2) Assuming there is really nothing left, you need to partition your disk (you are kind of lucky that windows is gone, that makes it easy) to make room for both your OSes. If you dont have other solutions, you can use the SUSE install disk. Make sure to have at least the following configuration:
- At the start of one disk a NTFS partition that is large enough to house your XP installation.
- One reiserfs or ext3fs or whatever else linux partition you would like. (this is where at least comes into play. you can also create separate partitions for your home directory, or your boot partition, or if you want to store data on another drive, or ...)
- one swap partition (roughly double the size of your ram; you can go with this value or read up on swap space on the internet. you should be fine with this value though)
When you are done partitioning, be sure not to procede with the installation. If you set linux up first and windows screws it up (happened before, you know ), you are stuck with doing it all over. So, reboot, if you dont have reason to disagree with me (which you are of course always free to do).
3) Put in your legal windows xp installation disk and install xp (there should not be any problems if your ntfs partition is at hda1).
4) When xp is set up (not going to explain that, thank you ). Boot your SUSE installation disk again.
5) MAKE SURE NOT TO OVERWRITE XP AGAIN. Instead choose advanced options, when you are prompted with several choices. It will probably offer you at some point to not partition your drive and let you choose what partition to use for what purpose. (it may be called partitioning though. Make sure to NOT let it write the partition table. This may be harmless, but it is certainly not necessary).
6) Chose / for your primary linux partition (the largest one, probably. Your home partition may be larger (/home), if you have chosen to create one) and tell install, where to put your other partitions (again, if you made any, aside from the main and swap partitions). Also, make sure your swap partition is recognized.
7) Proceed with installation. There should be no problems from here on.

I hope this has helped you!
Good luck, post back if you require further assistance,
- drowstar
 
Old 05-20-2004, 02:56 AM   #3
chriskar
LQ Newbie
 
Registered: May 2004
Location: greece
Distribution: suse 9.1 pro
Posts: 13

Original Poster
Rep: Reputation: 0
installing suse 9.1 blow away xp- help

Hallo drowstar , wie geht es dir ? 1000 thnka for your replay
I was born in germany and i love germany even more than
greece.
anyway let's talk about my problem .
i wasn't clear enough in my post .
after trying to install suse 9.1 overwriting windows on my pc remained
4 logical partitions with in an extended partition tha i had created with partition
magic 8. i saw this with the bootfloopy of partititon magic 8 in dos .
yesterday i clean installed window xp in the first primary partition and so
my system is how it was before the disaster with 30 programms less.
now my situation is the following :
I have 2 hd wich are 240 gb in total with a raid o controller.
in the first primary partititon ( 30 gb ) i have xp
in the other 4 logical wich are in an extented partition i have videos, mp3
programms ecc. the is no free space on the disk.
now i'am backing up this 4 partitions to dvd's so i can cancell them and
make a system like this : first primary xp and all the other space free
to install suse and after installing it to creat other partitions with pm 8.
MY PROBLEMS ( because i'am without experience ) are the following :

1.were must i send grub ??
there are 3 solutions : a) overwriting mbr b) creating an unlockated
space of 100 mb before xp and so it will go there automatically
c) send it in the first boot sector of the linux partition .

2.. the fist time yast checked my sistem it found 2 hd scsi
i have 2 hard disks serial ata with raid controller .
why can't yast see them in the right way ??
i think i will have the same problem again

3. i'am to unexperienced to understand how to do the partitions needed
to linux manually .

I NEED A STEP BY STEP GUIDE to do the job .
i know tha nobody has the time to do this for me
can you or somebody else tell me where to find such a guide for
suse 9.1 distro ?????????????????????
I SEARCHED THE NET BUT THERE IS NOTHING FOR MY LOW LEVEL
EXPERIENCE .
Anyway
I can wait if someone wants to help me .
THANKS DROWSTAR AND TO ALL OF YOU WHO ARE SPENDING THERE
TIME FOR ME .
MY e-mail is chriskaranikas@yahoo.gr
 
Old 05-20-2004, 01:37 PM   #4
drowstar
Member
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware, Gentoo, Fedora
Posts: 205

Rep: Reputation: 30
Hi chriskar,
the first question is easy: Overwrite the MBR. It's the safest and most widely used method. I dont know of any reason against choosing this option. I always go with that. Hasn't caused me any trouble.

The second is harder. You think your messed up system was due to YAST falsefully assuming you had a scsi system? I dont know if that is possible. I assume so.
Sorry that I cant be any more specific, I have never run in this kind of problem before.
It might be possible that linux recognizes RAID controlled drives as SCSI. I dont know, which applies. Maybe there is something about that in the linux documentation, I can't find it though.
To be honest, I dont know about that problem. Hopefully somebody else will be able to help you with that.

As far as partitioning is concerned, it is a fairly straight forward process. Do you have any specific problems in understanding what I told you in my last post? I cant tell you about the SUSE installation process, it's been ages, since I did my last SUSE install (not that I wouldn't use it anymore. It is a really great distro!). I assume there is a nice GUI for it.

I would love to talk you through it, if you have the means to chat and install at the same time (it's called a second computer, I think ). Send me a private message, if you would like to do that.

I very much hope that you will get everything up and running. Contact me for further assistance,
- drowstar
 
Old 06-01-2004, 02:23 AM   #5
chriskar
LQ Newbie
 
Registered: May 2004
Location: greece
Distribution: suse 9.1 pro
Posts: 13

Original Poster
Rep: Reputation: 0
CAN'T INSTALL SUSE 9.1 PRO ( DROWSTAR AND ΤΟ ALL OF YOU PLEASE HELP )

i have a p4 system with 2 HD x 120 gb and with RAID 0.
this means that windows see's i disk of 240 gb.
when i try to install suse 9.1 pro putting in the first cd
and after checking my system i become the following message : CAN'T REGOGNIZE THE PARTITIONS ON dev/sda
AND THEREFORE CAN'T USE YAST PARTITITON TOOL TO
CHANGE PARTITITONS.
IF YOU WANT TO CONTINUE PRESS OK .
after pressing ok and going to advance mode for partitioning a can select dev/sdb the other hd to install
linux .
but every time linux go over dev/sda where xp are and i can't reboot .
i tryied everything even installing only linux .
i get always the same message.
what must i do to let linux see my raid controller or ELSE
i don't know what else to do .
i'am a newbie lpease help someone .
 
Old 06-01-2004, 05:38 AM   #6
drowstar
Member
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware, Gentoo, Fedora
Posts: 205

Rep: Reputation: 30
Hi chriskar,
I am sorry that it doesnt seem to want to work for you.

after thinking quite a while what you could do, here's the only solution I can come up with (and of course I cant guarantee that it will work): Try partitioning manually. Sounds scary and is not the most fun thing to do, but if it helps you install your system, it will be worth it.
The route to go would be to partition using a different tool than Yast. There might be a problem when you install later though. If SUSE can't read it now, it might not be able to read a partitioned system later either. It's worth a try though.

Let me share with you part of a partitioning guide I am working on at the moment (a sneak peek so to speak ):
Quote:
Resizing an existing installation of Windows (9x and XP)
Some (most?) boxed distros today come with tools to resize Windows partitions (currently these are: Mandrake's DiskDrake, SUSE's YaST, TODO(more)). Follow the instructions of your distro then. You can also use a proprietary tool called Partition Magic. (pro: works with windows, so no rebooting necessary; con: expensive, you only need it once)
Everyone else will need to go through the following procedure. (This process has become quite easy since qtparted has added support for ntfsresize. For this guide we will choose the easiest way. Use ntfs tools for complete control, if you are an experienced user.)
1) Backup any important data. You will most probably not loose any of it (that is the purpose of this guide). Just to be sure
2) Download Knoppix
Knoppix is a Linux distribution that runs from CD and will allow you to manipulate your system using nice graphical tools.
3) Burn the CD
4) Defrag your Windows installation.
This will ensure that data is not spread all over the disk, so another partition can easily be split off.
5) Put your Knoppix CD into your fastest CD drive and reboot your computer.
When the computer boots up and the CD is in the drive, it will boot a linux system that runs entirly from the CD and will not alter your system. Also a very good way to experience linux without installing it.
6) When the computer has booted up, you are presented with a very nice Linux desktop. Make yourself at home, but don't forget that this is only temporary.
7) Set up your hard drive using "qtparted":
- run qtparted: [alt+f2]qtparted[enter] or find it in the menu.
- change the layout of your partitions like this:
TODO: Do they need to be deleted before the new layout can be established?
a) NTFS at the beginning of the drive
size:
as much as you need for Windows XP, any programs and data. It is a good idea to use at least 10GB.
type:
NTFS (the Windows NT file system)
comment:
usually windows stores everything in one partition. Make sure there is enough space.
b) at least one linux partition
size:
as much as you need for Linux, any programs and data. If you can spare the space, use at least 10GB. Also, if you do a lot of downloading (you will probably want to use linux for this, more secure), make sure you have enough space.
type:
ReiserFS and ext3 have proven to be very good file systems. The difference is in speed and reliability. If unsure go with ReiserFS.
comment:
It may make sense to put your /home directory (where you will be storing data and settings) on a separate partition, so you will not lose it, when you decide to upgrade your system. Use the same file system as for the other linux partition.
c) a linux swap partition last
size:
256 MB or more (at least as much as you have RAM)
type:
linux swap (82)
comment:
a swap partition is where your linux system stores data from RAM if no longer needed. Improves speed.
If you have a second hard drive, you may want to put swap on the one that does not house any other frequently used partitions (again, speed).
It is not crucial that this is outermost, but it improves speed.
- apply the changes you made. Your partitions are now set up.
I hope this will fix it for you. (My hope is that SUSE will find a partition table that has been correctly set up, in this case, it will work now. If it still doesnt, maybe the SUSE installation disk doesnt support RAID drives (I discovered that there is a configuration option in the kernel, maybe SUSE chose not to compile it in their kernel)).
Please post back here. Let's work together to get your system set up finally.

Good luck,
- drowstar

Oh, another thought: How about removing one drive from the RAID, installing linux and putting it back in? (or rather, remove the RAID and leave one harddisk in your system) It's a messy hack, but might work. As always, feel free to ask more questions, you are here to learn.
 
Old 06-01-2004, 08:32 AM   #7
chriskar
LQ Newbie
 
Registered: May 2004
Location: greece
Distribution: suse 9.1 pro
Posts: 13

Original Poster
Rep: Reputation: 0
Hello , DROWSTAR
I can't say you how much i am happy that there is someone
somewhere without knowing me who cares about my problem. thank you so much.
now, i'am thing to eliminate in the bios the raid
so i will have 2 disk separatly.
c : installing xp and d: trying to install suse 9.1 pro
1.can you please tell me where i must send or where will go
GRUB in this case ????

2.I HAVE PARTITION MAGIC 8 .Does linux support the
partitons made with pm8 ??

3. can i creat a partition for linux with pm 8 ??

i will inform you step by step from this site about my moves
and risults .
thanks once more .
ICH LIEBE DEUTSCHLAND .
 
Old 06-01-2004, 08:38 AM   #8
69_rs_ss
Member
 
Registered: Jan 2004
Location: NY, USA
Distribution: Arch, openSUSE 11.1
Posts: 170

Rep: Reputation: 31
Chriskar, I have actually found it easier to install Windows first. Once this is done install Suse. Are the HD's you are using Sata or are they just ATA in a raid array? Also, what is it Raid controller you are using?
 
Old 06-02-2004, 12:25 AM   #9
chriskar
LQ Newbie
 
Registered: May 2004
Location: greece
Distribution: suse 9.1 pro
Posts: 13

Original Poster
Rep: Reputation: 0
Ηι 69_rs_ss , i have 2 serial ata HD western digital of 120 gb each
and they are on raid 0 .
every time i try to install suse 9.1 pro i get theerror message that linux can't see the partitions on my first hd .
i thing that in automatic installing mode there is nothing to do.
i must install in expert mode but i have no experience .
i am sure i will damage again my xp with are already istalled .
 
Old 06-02-2004, 05:01 AM   #10
drowstar
Member
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware, Gentoo, Fedora
Posts: 205

Rep: Reputation: 30
Hi chriskar,
now, i'am thing to eliminate in the bios the raid
so i will have 2 disk separatly.
c : installing xp and d: trying to install suse 9.1 pro

This is probably your safest bet.

1.can you please tell me where i must send or where will go GRUB in this case ????
GRUB will probably be automatically installed to the MBR of /dev/hda1 (the master boot record of the first of two hard drives). If this is not the default it is probably a good way to go.

2.I HAVE PARTITION MAGIC 8 .Does linux support the partitons made with pm8 ??
Yes.

3. can i creat a partition for linux with pm 8 ??
Yes.
If you are more comfortable using Partition Magic, you are of course free to do so. There are no problems that I can think of.

i thing that in automatic installing mode there is nothing to do.
i must install in expert mode but i have no experience .

Expert mode is really not as scary as the name suggests. Basically it gives you more options, but the standard values are usually those the normal mode would have assumed.

i am sure i will damage again my xp with are already istalled .
I dont think you need to worry about that now. All modern partitioning tools support resizing windows xp partitions these days, so there should not be a problem.

I have actually found it easier to install Windows first. Once this is done install Suse.
I agree with 69_rs_ss.

ICH LIEBE DEUTSCHLAND .
Please do not mistake my helpfulness as a typically german feature.

Good luck,
- drowstar
 
Old 06-02-2004, 05:12 AM   #11
HenchmenResourc
Member
 
Registered: Mar 2004
Location: SLC, Utah
Distribution: OpenSUSE 12.2
Posts: 246

Rep: Reputation: 30
SuSE 9.1 and RAID

The issues everyone is having most likely stem from how your System is setup, and most directly your RAID controller. As of the 2.6 Kernel Linux does not suport hardware RAID, when you got into YAST to begin your SuSE 9.1 Install you should have received and error message notifying you of this. I received this and was able to go into my SATA RAID setup and tell my computer that I did not want my hard drives setup in a hardware RAID configuration and the problem went away (all this after a thourough back up of my windows partition of course). One of the first things I read while researching this was that by continuing to install with a 2.6 kernel and a hardware RAID setup my windows partition would stand a great chance of being deleted, and it would be unlikely that my Linux partition would work as well. Unfortunaly if you are intent on having a dual boot system, and again not this is with any Linux Disto running the 2.6 kernel, you will not be able to have a RAID configuration.

The SATA RAID controller I use is built into the MOBO so it is setup in the BIOS and can be set so that both hard drives are handled as if they were old ATA dives connected through a IDE slot, and as such are not seen as a RAID, then install windows as usual followed by Linux and you should not have an issue with your Linux install wiping you windows install. If your using a RAID contoller that is connected through a PCI slot, your on your own figuring out how to set up the RAID as I have no experience with those type of controllers, but the same rules should apply.

If you are having the problem that YAST can't find your SATA harddrive you most likely need to download the related drivers and install them. Start with your SATA manufacturer they should have divers and many have drivers specific to the major Linux distributions. After down loading them you will need to create a Diver disk, the divers should have a README file that explains how to do that. Than when you begin your install in the first screen your given you should have an option (F6 with SuSE 9.1) to update drivers, select that option and your install should ask you for the driver disk, if you did everything right YAST should find your harddrives.

Hope this help all of you out there having this problem.

Last edited by HenchmenResourc; 06-02-2004 at 11:23 PM.
 
Old 06-02-2004, 10:09 AM   #12
drowstar
Member
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware, Gentoo, Fedora
Posts: 205

Rep: Reputation: 30
Great!
HenchmenResourc, thank you for this valuable piece of information! This will most likely spare many people much time of suffering.

chriskar, can you please post for all of us, if the solution HenchmenResourc proposed worked for you? Thanks.

Thank you again!
- drowstar
 
Old 06-04-2004, 01:06 AM   #13
chriskar
LQ Newbie
 
Registered: May 2004
Location: greece
Distribution: suse 9.1 pro
Posts: 13

Original Poster
Rep: Reputation: 0
Hi my friends .
HenchmenResourc is right . AlL THE PROBLEM IS THE RAID CONTROLLER.
I went in the bios not with del but in an other section of the bios with ctrl + I
regarding raid controller .it is apart.
there i deleted raid configuration and so my system had 2 separate HD.
i put the cd 1 of suse 9.1 and with 3 clicks linux was installed on dev/sda.
everything works well.
i think i did a mistake installing first linux on the first hd because now i must put after xp on dev/sdb .
what will follow ????
now that i have only istalled linux ( for now ) the systems boot with grub
what will happen when i install xp on the second hd after linux ????
Will there be an option to boot in linux or xp or will the system crash ??
why must i install first xp and then linux even when i have 2 different hd
Tomorrow i will try to install xp on hd2 and we will see.i will inform you all
about the results.
in the meantime if you can tell me why first xp and then linux on 2 seperate hd??
where will go mbr ?????
will there be a screen with the option to boot in the 2 OS ??
WHAT DO YOU THING IF THERE WILL BE A CONFLICT WITH THE 2 BOOTLOADERS TO REINSTALL GRUB ??
Anyway Monday i will tell to all of you the results of the experiments so
how says DROWSTAR many people can spare time and suffering.
 
Old 06-04-2004, 05:46 AM   #14
drowstar
Member
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware, Gentoo, Fedora
Posts: 205

Rep: Reputation: 30
Hi chriskar,
the only problem you have left now is that you are not sure why everyone seems to advise you to install XP first?
Well, the reasons are manifold:
1) Usually there is only one operating system on your computer (Windows XP in most unfortunate cases). For this reason, linux is prepared to change the size of your existing partition.
2) The boot loader: Windows is ignorant of other OSs, so it will do stupid stuff like overwrite the MBR with it's own boot loader (assuming it is the only OS on your computer (because, in their minds, isnt windows the only OS in existance?).)
3) If there is only one hard drive on your system (or a raid array ), windows may want to take up the whole drive (or what it can see of it)
For these reasons, it's simply easier to first install windows and then linux. The short of it: Linux installs are smarter than windows installs.

In your case, most of this does not apply:
1) This does not apply in your case, because you have room left for windows.
2) The boot loader will be damaged. Read below for instructions on how to fix this.
3) This does no longer apply for you, because you have two drives now. The second one is also completely linux formatted so windows will not see any space on there and will probably (hopefully) not format the drive. Make sure you dont allow it to, if it asks you.

After you installed XP and you turn your computer on, windows will boot and pretend there is no other OS. This is normal. To fix your boot loader do the following:
Boot your system with the installation CD you used to install linux in the first place. It will allow you to boot your existing system. Unfortunately I dont have a SUSE system here to try this. Anyway, if everything worked as I would expect a modern distro to, you can run Yast2 and fix your boot loader.
(If SUSE fails my huge expectations, post back. There are other (more complicated) ways of achieving the same effect.)

Good luck with your windows install. I am confident that by now you are very good at installing OSs, so it will not be much of a problem anymore.
- drowstar
 
Old 06-04-2004, 11:14 AM   #15
fredrik9.1
LQ Newbie
 
Registered: Mar 2004
Location: Sweden
Distribution: Fedora Core 5
Posts: 3

Rep: Reputation: 0
Hi everybody,

Thanks for all this great info! I have very similar problems... and you guys just gave me a pretty good idea on where to start troubleshooting. That is, on how to manage to install Suse 9.1 Pro on a S-ATA disk and when that problem is solved, if ever, I will also make dual boot system with XP Pro and Suse 9.1 pro, but on on the same disk.

chriskar, if you still have boot problems after installing XP on that second sata disk of yours, I can highly recommend you to try out XOSL (eXtended Operating System Loader), which you can try to install afterwards. It has saved me from re-installing 3 out of 4 times and probably also from throwing out things through windows.... without opening them...

XOSL is typically installed on your windows C: drive from a floppy disk under dos (use a Win98 boot disk for example) and can be downloaded at http://www.ranish.com/. The boot program i licenced under GPL by the way. If it works, you will have a boot loader similar to grub, but isnt a linux program... it will just try to boot at bootable partitions (sectors?).

Good luck to us both!

Fredrik
 
  


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
What is gtk2 and how did I blow up firefox bluemoose Linux - Software 7 11-10-2005 12:55 PM
How to blow away my Win2K Partition? normf Linux - General 3 10-31-2005 08:32 AM
Installing Fedora tries to blow away all existing partitions? stefanlasiewski Fedora 2 07-17-2004 05:49 PM
I Blow Up My Comp Suse Pro Killd Even Thing OMEGA-DOOM Linux - Newbie 6 07-13-2004 10:11 AM
Did the Internet blow up? crashmeister General 14 05-27-2002 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 12:02 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
Open Source Consulting | Domain Registration