LinuxQuestions.org
Help answer threads with 0 replies.
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 11-13-2009, 03:33 AM   #1
simer_anand88
LQ Newbie
 
Registered: Oct 2009
Distribution: Mandriva
Posts: 25

Rep: Reputation: 15
Need to install Xp on Ext3


Hello Everyone,

I' m trying to install Xp on one of mine ext3 format, for this, i tried 'mkfs.msdos /dev/sda11' command but didn't got it correct everytime i run this command it says "partition mounted has file system"(something like this) any how i tried the options like -c -C etc., but didn't worked for me...... may be i' m not doing it correctly. so anyone who can guide me some easy way to do it quikly.

I'm using Mandriva 08.
sda11 has 30gb of space.

and generally what should be used gparted or mkfs.msdos ?

Thanks,
simer

Last edited by simer_anand88; 11-13-2009 at 03:36 AM.
 
Old 11-13-2009, 03:46 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
You need to unmount it before you can mkfs on it.

Evo2.
 
Old 11-13-2009, 04:04 AM   #3
simer_anand88
LQ Newbie
 
Registered: Oct 2009
Distribution: Mandriva
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by evo2 View Post
You need to unmount it before you can mkfs on it.
Ok, after umount /dev/sda11 then mkfs.msdos /dev/sda11. It will be done after this.

Thanks for reply
simer
 
Old 11-13-2009, 03:04 PM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,784
Blog Entries: 14

Rep: Reputation: 279Reputation: 279Reputation: 279
You would be MUCH better off, in general, using XP to make it's own filesystem on install. Don't use gparted or mkfs, use the Windows CD for Windows....
 
Old 11-13-2009, 05:27 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 17,195

Rep: Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562
My guess is you need to recompile the XP kernel and apply support for that filesystem.

I never heard of XP being installed on an ext3 filesystem.
 
Old 11-13-2009, 05:31 PM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Originally Posted by jefro View Post
My guess is you need to recompile the XP kernel and apply support for that filesystem.

I never heard of XP being installed on an ext3 filesystem.
The OP doesn't want to install XP on ext3, but use the ext3 partiton to install XP, so first format it using
Code:
mkfs.msdos /dev/sda11
 
Old 11-13-2009, 05:36 PM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
I am not sure what the OP exactly wants. But, I will set an alarm here because he doesn't seem to know what he's doing at all.

First, be aware that mkfs will completely destroy ALL the contents of sda11 if you run that command above. Second, if you plan to install Windows XP on sda11, first check if you can do it at all, I am not sure you can even install Windows XP on a logical drive to start with, it might only accept primary partitions, and primary partitions are *always* from 1 to 4 (and 11 > 4), so check that.

Let's try not to go to fast, you might regret it later. Do you really want to format sda11? or do you want to take some free space from sda11 and make a new partition for Windows XP? Please, explain in detail, toying with partitions without having idea on what you are doing is the quickest recipe for disaster.
 
Old 11-14-2009, 02:42 AM   #8
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Besides, xp won't properly install to a DOS partition, it requires FAT32 or NTFS.
 
Old 11-14-2009, 10:21 AM   #9
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
Quote:
Originally Posted by jay73 View Post
Besides, xp won't properly install to a DOS partition, it requires FAT32 or NTFS.
mkfs.msdos and mkfs.vfat usually both point at mkdosfs. mkfs.msdos can create fat32 volumes just like mkfs.vfat (anyway they are truly the same tool).

A little detail from the man page:

Quote:
-F FAT-size
Specifies the type of file allocation tables used (12, 16 or 32
bit). If nothing is specified, mkdosfs will automatically
select between 12, 16 and 32 bit, whatever fits better for the
file system size.
 
Old 11-14-2009, 10:47 AM   #10
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,167

Rep: Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890
doesnt windows want drive c: to be the first partition on the first physical disk ?
 
Old 11-14-2009, 11:23 AM   #11
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
Quote:
Originally Posted by schneidz View Post
doesnt windows want drive c: to be the first partition on the first physical disk ?
That entirely depends on the version, I guess.

I am sure that Windows XP doesn't enforce that. Well, at least latest service packs don't do so, because a lot of laptops with XP pre-installed have a "hidden" partition in front of the Windows one for recovery purposes (hence, the Windows partition is not the first one).
 
Old 11-22-2009, 11:42 PM   #12
simer_anand88
LQ Newbie
 
Registered: Oct 2009
Distribution: Mandriva
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by i92guboj View Post
I am not sure what the OP exactly wants. But, I will set an alarm here because he doesn't seem to know what he's doing at all.



First, be aware that mkfs will completely destroy ALL the contents of sda11 if you run that command above. Second, if you plan to install Windows XP on sda11, first check if you can do it at all, I am not sure you can even install Windows XP on a logical drive to start with, it might only accept primary partitions, and primary partitions are *always* from 1 to 4 (and 11 > 4), so check that.
/dev/sda11 was empty that's why i want to install xp on this drive.It's obviously an ext3 drive but i need to install xp on my system. There must be some way to do it.

Quote:
Originally Posted by i92guboj View Post
Let's try not to go to fast, you might regret it later. Do you really want to format sda11? or do you want to take some free space from sda11 and make a new partition for Windows XP? Please, explain in detail, toying with partitions without having idea on what you are doing is the quickest recipe for disaster.
I can format it no problem for me, it is empty or i can also create a new partition out of it. Anyhow i need to install xp on my system.
I hope there is a possibility of doing this.


Thanks Everyone
simer
 
Old 11-22-2009, 11:51 PM   #13
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
Quote:
Originally Posted by simer_anand88 View Post
/dev/sda11 was empty that's why i want to install xp on this drive.It's obviously an ext3 drive but i need to install xp on my system. There must be some way to do it.
Nope. Unless I am incorrect in my assumption that XP needs a primary partition.

Quote:
I can format it no problem for me, it is empty or i can also create a new partition out of it. Anyhow i need to install xp on my system.
I hope there is a possibility of doing this.
There's no easy way to work around that. Formatting the drive will change nothing. However, if you post the structure of your partition table here we could make suggestions on how to move one of the first four partitions into the extended one, then install Windows there. If the sizes differ significantly you are probably going to have to do quite a lot of rearranging.

If you don't need great performance you could as well use a virtual machine and run Windows from Linux.

Again, I am no Windows specialist: the above info only applies if I am correct in my assumption that XP can't be installed to logical drives. That's what you need to find.

Last edited by i92guboj; 11-22-2009 at 11:53 PM.
 
Old 11-23-2009, 02:34 AM   #14
simer_anand88
LQ Newbie
 
Registered: Oct 2009
Distribution: Mandriva
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by i92guboj View Post
Nope. Unless I am incorrect in my assumption that XP needs a primary partition.



There's no easy way to work around that. Formatting the drive will change nothing. However, if you post the structure of your partition table here we could make suggestions on how to move one of the first four partitions into the extended one, then install Windows there. If the sizes differ significantly you are probably going to have to do quite a lot of rearranging.

If you don't need great performance you could as well use a virtual machine and run Windows from Linux.

Again, I am no Windows specialist: the above info only applies if I am correct in my assumption that XP can't be installed to logical drives. That's what you need to find.
Thanks i92guboj,

I will attach my partition structure as soon as i will reach home.
No, i don't want to use the virtual thing. I can do any type of rearranging... so no worries about that.

Thanks for replying,
simer

Last edited by simer_anand88; 11-27-2009 at 02:13 AM.
 
Old 11-23-2009, 03:34 AM   #15
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
Does it HAVE to be the ext3 filesystem? I am not sure what you are asking here. If you want fully functional WinXP partition, simply use GParted (free, easy) or the WinXP install CD (assuming it can partition drives) to do this. Just make SURE that the changes you make are on the partition you want for XP (just double-check) lest risk deleting one of your OS(es). After that, all you will have to do is make an entry for Windows XP in the GRUB so you can boot XP.
Try Google, or ask one of the kind LQ members ( I don't know how. ).
Although I think you have to edit your GRUB menu.lst from a Linux distro.
Advice: clean up your English.
And, most important, Good Luck, it won't be too hard, I promise (:
 
  


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
[SOLVED] Install Fedora 11 without Ext3 /boot verndog Fedora 2 08-10-2009 10:46 PM
how to install xp in ext3 partition deepti aggarwal Linux - Newbie 3 12-13-2008 03:26 PM
puppy install on an extended ext3 partition? MarkMark Puppy 2 09-27-2006 03:37 AM
ext3-fs errors during slack install php Linux - General 0 03-08-2003 10:21 AM

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

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