LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   installing LInux when you allready have XP (https://www.linuxquestions.org/questions/suse-opensuse-60/installing-linux-when-you-allready-have-xp-316901/)

ardentphil69 04-25-2005 05:20 AM

installing LInux when you allready have XP
 
Hi!
here,s simple problem but yet some may find it easy
but for me it is tough job
can anybody help me out:rolleyes: :confused:

musicman_ace 04-25-2005 05:35 AM

Option1: Remove XP completely and install Linux
Option2: Use a partition resizing utility (Partition Magic) to create space for linux
Option3: Remove XP, create smaller paritions, install XP and Linux
Option4: Buy a second hard drive and install linux on it and dual boot.

edit:

Option5: Use VMware-workstation to have Virtual Linux. (worst of the 5)

reddazz 04-25-2005 05:38 AM

If you plan on installing Suse, then it can repartition your XP installation and create free space for Linux. Once thats done and the installation is complete, then you just reboot and the boot loader installed by Suse lets you choose between booting into Windows or Suse Linux. Its simple and most stuff is handled by the suse installer once you pop in the installation disk.

baraujo 04-25-2005 04:53 PM

Hi ardentphil69,

I also was a bit afraid to install suse 9.2 with windows XP already installed but everything went great.

Remember to back up your files, just in case, and to defrag your hard disk before installing suse.

SpEcIeS 04-25-2005 06:42 PM

Quote:

Originally posted by musicman_ace
Option1: Remove XP completely and install Linux
I only see one option... Option1 you eventually will not regret it. Linux is an awesome community. :D

ardentphil69 04-27-2005 03:22 AM

XP and linux
 
Very
true what you said solves the ptoblem
thanks
Ardent

ardentphil69 12-22-2005 12:07 AM

well here's a argument on programming
1)When I compile my c prongram in c on linux plat form
after it is compiled does the compiler create a object file please some come up with an explanation

PSIPHON 12-22-2005 03:24 AM

Quote:

Originally Posted by SpEcIeS
I only see one option... Option1 you eventually will not regret it. Linux is an awesome community. :D


Though I would like to see the day aths true there are far to many applications that i use in W!ndows. Ontop of that you simply dont have teh support for games that i would like.

On the more positive side. I love SuSe linux distro. I would say first defrag your hard drive then let SuSe have at it. It will resize your primary partition and intall perfectly fine (well it did for me and my cousin atleaste) Since then I have not turned the machine (secondary machine) back over to windows since.

- PSIPHON

muddywaters 12-22-2005 11:37 AM

Quote:

Originally Posted by ardentphil69
well here's a argument on programming
1)When I compile my c prongram in c on linux plat form
after it is compiled does the compiler create a object file please some come up with an explanation

What does this have to do with the topic of this thread? If you have an unrelated question a new thread usually gets a quicker response. No criticism, just a friendly pointer.

edit: should have pointed out there are rules about double posting. Maybe wait a while and see if you get an answer? Sorry I can't be more help.

Fady 12-24-2005 07:07 AM

the same thing happened with me>
after I installed the Linux suse10 with WindowsXP . ofcours each of them in individual partition
i had to reInstall WinXp. but when winxp reboot this message appeared
loading Grub...
error 17
what is the solution?

Monkey 9 12-24-2005 01:37 PM

you have to reinstall the bootloader.
You can do that with a live-cd, like knoppix.
Start-up the live cd, open a terminal and go to linux dir.
go root type: grub [return]

(grub is in the root of the partition linux is on, except the number 1 is in grub 0.
Windows is at hd0, there is where the grub must be installed, so:
If linux is on fi. hda2, in grub this would look like: hd0,1)

If grub returns, you type: root (hd0,1)[return]
than you type: setup (hd0) [return]
and that's it.
Here is an example:

Code:

grub> root (hd1,5)
Filesystem type is reiserfs, partition type 0x83

grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/reiserfs_stage1_5" exists... yes
Running "embed /boot/grub/reiserfs_stage1_5 (hd0)"... 20 sectors are embedded
.
succeeded
Running "install /boot/grub/stage1 d (hd0) (hd0)1+20 p (hd1,5)/boot/grub/stage
2 /boot/grub/menu.lst"... succeeded
Done.

grub>

In the example is my SuSE at the second harddrive, in the 6th partition.
Harddrive 2=hdd (=hd1 in grub)
6th partition =hdd6 (hd1,5 in grub)
First drive =hda (hd0 in grub)

It is realy very simple, it just looks difficult.....:D

Monkey 9 12-24-2005 01:52 PM

After rebooting, you will see that grub is there with the bootoptions.

Fady 12-25-2005 05:51 PM

Hi
first: thanks monky9 for replying.
second:I'm new to linux, so I ask you to explain
the answer step by step. which mean.
1-how can I enter to linux dir
hint: my linux is on hda1 as I saw in knnopix
file:/mnt/hda1
2-tell me the correct parameter for root command
and for setup command in order to my linux dir.
thank you again

Monkey 9 12-27-2005 11:40 AM

You can go root by typing su or sudo in a terminal.
Knoppix will go root without needing a password.
You have to mount the partition linux is in.
Mounting = rightclick on the drive where your linux is on.
You can set rights there also: writable.

Fady 12-27-2005 04:08 PM

Thanks again Monkey9.
1- After I logged in Knoppix I did the following:
2- rightclick on hda1 ( the drive which Linux Suse 10 is installed ) and I selected mount and maked it writeable . then I wrote the following commands:
Su
Grub
Grub>root (hd0,1)
File system type is fat , Partition type 0xc
Grub>setup (hd0)
Checking “/boot/grub/stage1 “ exists…….. no
Checking “/grub/stage1 “ exists…….. no

Error 15: file not found
In right of God I ask you, where is the problem man? ???


All times are GMT -5. The time now is 03:20 PM.