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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
11-13-2009, 02:33 AM
|
#1
|
LQ Newbie
Registered: Oct 2009
Distribution: Mandriva
Posts: 25
Rep:
|
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 02:36 AM.
|
|
|
11-13-2009, 02:46 AM
|
#2
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
You need to unmount it before you can mkfs on it.
Evo2.
|
|
|
11-13-2009, 03:04 AM
|
#3
|
LQ Newbie
Registered: Oct 2009
Distribution: Mandriva
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by evo2
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
|
|
|
11-13-2009, 02:04 PM
|
#4
|
Senior Member
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,856
|
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....
|
|
|
11-13-2009, 04:27 PM
|
#5
|
Moderator
Registered: Mar 2008
Posts: 22,129
|
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.
|
|
|
11-13-2009, 04:31 PM
|
#6
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Quote:
Originally Posted by jefro
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
|
|
|
11-13-2009, 04:36 PM
|
#7
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
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.
|
|
|
11-14-2009, 01:42 AM
|
#8
|
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep:
|
Besides, xp won't properly install to a DOS partition, it requires FAT32 or NTFS.
|
|
|
11-14-2009, 09:21 AM
|
#9
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
Quote:
Originally Posted by jay73
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.
|
|
|
|
11-14-2009, 09:47 AM
|
#10
|
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326
|
doesnt windows want drive c: to be the first partition on the first physical disk ?
|
|
|
11-14-2009, 10:23 AM
|
#11
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
Quote:
Originally Posted by schneidz
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).
|
|
|
11-22-2009, 10:42 PM
|
#12
|
LQ Newbie
Registered: Oct 2009
Distribution: Mandriva
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by i92guboj
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
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
|
|
|
11-22-2009, 10:51 PM
|
#13
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
Quote:
Originally Posted by simer_anand88
/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 10:53 PM.
|
|
|
11-23-2009, 01:34 AM
|
#14
|
LQ Newbie
Registered: Oct 2009
Distribution: Mandriva
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by i92guboj
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 01:13 AM.
|
|
|
11-23-2009, 02:34 AM
|
#15
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Rep:
|
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 (:
|
|
|
All times are GMT -5. The time now is 10:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|