Help - Zoeken - Gebruikers - Kalender
Volledige versie: Installing Mandriva as a DUAL boot with WIN XP
MandrivaClub.NL > MCNLive > MCNLive: International
pipa
Hi,

I am planning to install mandriva with win XP as a dual boot on my laptop. My laptop has a 40gb harddrive and 512 RAM.

Now here are my questions:

After formatting my drive:

1. Should I install mandriva first or win XP?
2. I am planning to give 5 GB of space to mandriva and hoping that I will do my C++ stuff in Linux. Is that enough?


Thanks.

HighKing
First WinXP, the Mandriva installer will detect WinXP, but the WinXP installer does not like any non-Microsoft os.

5GB should be enough for Linux, just as it is enough for WinXP as well ;).gif It just depends on what you're planning to do with it smile.gif
pipa
Thanks for ur response.

I am thinking of doing it the following way:

1. Formatting my hard drive.
2. Making NTFS partition of ~35 gb and keep ~5 gb of FAT32 for the mandriva.
3. Installing WinXp on the ~35 GB hard drive partition.
4. Installing mandriva on the rest ~5 GB FAT32 partition.

Is this the correct way of doing it?

Thanks.
HighKing
Just make one 35GB parition and install Windows on that, then run the Mandriva installer, and let it take the rest of the harddrive smile.gif
Linux doesn't like FAT32 very much ;).gif
pipa
"Linux doesn't like FAT32 very much "

then what should I do so that linux works well on it?

Thanks.
kris
Just leave empty space on your harddisk. The Mandriva installer will offer you to use it.
Linux needs its own filesystem (not a FAT), the default in MDV is ext3. The installer will do it!
Do not create it on your own with windows or 3party win tools.
pipa
Thanks a lot HighKing and kris.
pipa
I installed mandrive One on my harddrive and all went well.

Now I have some questions:

1. Is it possible to access my NTFS partition from the mandriva partition? if yes how?
2. Is it possible to make WinXP default in the grub settings?
3. Mandriva hangs whenever I try to change resolution of my screen. I do that through system configration (hardware), am I doing something wrong?

Thanks.
HighKing
(pipa @ Mar 19 2007, 02:02 AM) [snapback]81140[/snapback]

I installed mandrive One on my harddrive and all went well.

Now I have some questions:

1. Is it possible to access my NTFS partition from the mandriva partition? if yes how?
2. Is it possible to make WinXP default in the grub settings?
3. Mandriva hangs whenever I try to change resolution of my screen. I do that through system configration (hardware), am I doing something wrong?

Thanks.

1. I don't know how, but this is possible (I don't have any ntfs partitions on my systems)
2. Yes, just open de Mandriva Control Center, and configure the boot settings from there.
3. Need more info, what kind of video card? Dit you try to install another driver, or is this with the default settings?

smile.gif
pipa
Thanks for ur responce. I have some more questions:


1. If I login as root in the shell(bash) and type mount, it shows me 3 mounted devices:
( a ) ext3 ( b ) ext3 and ( c ) CD-ROM, the problem is, it DOESN"T even show NTFS partition. Please suggest me what should I do.

2. I read somewhere that typing sudo will give me some more info. I typed 'sudo' and it says "sudo: command not found". I typed in "which sudo", it says "sudo not found".

3. When I go to configure, it shows that GCC is installed. When I come to the shell and type "gcc", it says "gcc:command not found". when i type "which gcc", it says "gcc not found".

Thanks.
mr rogers
First, an answer to your first question:

to mount your ntfs partition:
type in your console:

CODE

su
mkdir /mnt/windows
mount -t ntfs /dev/hda1 /mnt/windows


Now, your ntfs partition should be mounted on /mnt/windows.
If you will reboot, the partition will be unmounted again.
The solution: edit /etc/fstab

Add this line in /etc/fstab
CODE
/dev/hda1 /mnt/windows ntfs defaults 0 0

Normally, the partition should be mounted if you reboot.
(you don't need to reboot to test if your fstab works correct. If you type (as root) umount -a, then mount -a, your partitions should be mounted)

Note that in my case, for some reason, i can only see my ntfs as root.
I still have to figure out why, so maybe you will have that issue too. (because I explained this stuff as I always do to mount my windows)

second question:
I don't know a lot about sudo, but in some distro's, sudo is used instead of su.
The difference is that if you use su, you will be root in that session the whole time. (untill you type exit etc.). If you use sudo, you're only temporary a root.
It's for example used in [K]Ubuntu.

I leave the third question to someone else smile.gif
pipa
Thanks a lot for the info.

The partition mounted correctly by using your commands.

Only problem I got is with:
/dev/hda1 /mnt/windows ntfs defaults 0 0

For some reason the shell says:
bash: /dev/hda1: Permission denied

I did all this as a root.

Thanks again for ur help.
mr rogers
QUOTE
For some reason the shell says:
bash: /dev/hda1: Permission denied

Hmm, when does the shell says that? When you type
cd /mnt/windows
for example?
Well that's my problem also tongue.gif. If i do the command above as root, I don't have any problems.
I'm going to search a bit to solve the problem.
QUOTE
Thanks again for ur help.

You're welcome!
mr rogers
Oh and I've forgotten to say;
you can not write things on your NTFS partition. You can read, but not write.
If you have a FAT partition, you can read and write from both linux and windows.

But, if you want to write things on your NTFS, there is a solution:
ntfs-3g module.
I don't have any experience with this, but if you are interested I will help you to set it up.
pipa
QUOTE(mr rogers @ Mar 22 2007, 08:31 PM) [snapback]81365[/snapback]

Hmm, when does the shell says that?

After mounting the NTFS drive. I want my NTFS partition to be mounted on reboots also. You suggested a command:

CODE

/dev/hda1 /mnt/windows ntfs defaults 0 0


When I execute this command I get the folowing error:
CODE

bash: /dev/hda1: Permission denied


Thanks
mr rogers
Ah, now I get it.
What I typed was not a command, but a line you should add in a file.
I'll explain it step by step:

CODE
su
kwrite /mnt/fstab

Now you should be into some text-editor.
And in the file opened, you can add the line:

/dev/hda1 /mnt/windows ntfs defaults 0 0

Then you have to save the file.
And to test if it works:
CODE

su
umount -a
mount -a
konqueror /mnt/windows


pipa
Sorry for the confusion.

Thanks a lot for helping me out.
mr rogers
QUOTE
Thanks a lot for helping me out.

Does it work now?

And I have the solution to my problem.
(thx to Kareltje in this topic:
http://www.mandrivaclub.nl/site/index.php?...t=0&#entry81433
But it's in Dutch ;).gif )

So if you want to acces your /mnt/windows as normal user, you should change your line in /etc/fstab again.

CODE
su
kwrite /mnt/fstab


Change this line:

/dev/hda1 /mnt/windows ntfs defaults 0 0

into this line:

/dev/hda1 /mnt/windows ntfs users,umask=0 0 0

This is not necessary, but it will be easier because you don't have to become root all the time.

Dit is een "Print" versie van onze forums. Om de volledige versie met meer informatie, afbeeldingen en opmaakte bekijken, a.u.b. klik hier.