I now have win 2k and fedora 7 installed on the same hard drive. However, I have run into a few issues that I am looking for answers. 1) fdisk -l is not working 2) is it bad that I did not set up a swap, and if so is there a way I can set it up in Linux after installation 3) I have 150 gigs of un-partitioned space on my hard drive how do I partition it in Fedora so I can write to it from both linux and win2k if that is even possible
with-out running fdisk my current set up is /dev/sda1 win2k MBR 7 gigs /dev/sda2 linux / Mount point root file system 15 gigs
Matthew Hoggan wrote:
- fdisk –l is not working
What exactly is the problem? Error messages? 'fdisk /dev/sda' should work for you.
- is it bad that I did not set up a swap, and if so is there a way I
can set it up in Linux after installation
Once the partition is created run 'mkswap /dev/sdaX' to set the partition as swap and add the following line to /etc/fstab
/dev/hdaX swap swap defaults 0 0
Replace X with the appropriate value.
- I have 150 gigs of un-partitioned space on my hard drive how do I
partition it in Fedora so I can write to it from both linux and win2k if that is even possible
It's very much possible. Format the partition as fat32 partition using 'mkfs.vfat'. Keep in ming that MS Windows doesn't support fat32 partitions larger than ~37GB. Alternatively you can keep the partition as ext3 and use 'ext2ifs' on Windows to read and write to it. ext2ifs control panel applet can be used to assign the partition a drive letter.
Vivek J. Patankar wrote:
Matthew Hoggan wrote:
- fdisk –l is not working
What exactly is the problem? Error messages? 'fdisk /dev/sda' should work for you.
If not run as root '/sbin/fdisk -l' fails silently, that might be what's happening.
- is it bad that I did not set up a swap, and if so is there a way I
can set it up in Linux after installation
Once the partition is created run 'mkswap /dev/sdaX' to set the partition as swap and add the following line to /etc/fstab
/dev/hdaX swap swap defaults 0 0
Replace X with the appropriate value.
- I have 150 gigs of un-partitioned space on my hard drive how do I
partition it in Fedora so I can write to it from both linux and win2k if that is even possible
It's very much possible. Format the partition as fat32 partition using 'mkfs.vfat'. Keep in ming that MS Windows doesn't support fat32 partitions larger than ~37GB.
This isn't true: Device Boot Start End Blocks Id System /dev/hdb1 * 1 20023 160834716 c W95 FAT32 (LBA)
Recent versions of Windows will refuse to create large FAT partitions though, mainly to get people to move over to NTFS (which there is good reason to do if you're Windows only). I would normally prefer to use each OS to create its own filesystems (therefore Windows for FAT & NTFS, Linux for ext and Reiser), but if you're set on a large FAT partition and only have WinXP/MCE/Vista then it has to be mkfs.vfat.
Alternatively you can keep the partition as ext3 and use 'ext2ifs' on Windows to read and write to it. ext2ifs control panel applet can be used to assign the partition a drive letter.
Fedora 7 can read/write unencrypted NTFS just fine, install ntfs-3g and ntfsprogs from the F7 repository.
On Wed, 2007-07-04 at 22:57 -0700, Matthew Hoggan wrote:
I now have win 2k and fedora 7 installed on the same hard drive. However, I have run into a few issues that I am looking for answers.
- fdisk –l is not working
In what way doesn't it work? What do you get back when you try to use it? I suspect you're not doing it as the root user, or that you just did a "su" rather than "su -" and don't have the full root environment.
- is it bad that I did not set up a swap, and if so is there a way I
can set it up in Linux after installation
Seeing as you're still partitioning, you can make a swap partition and add it to your fstab file. Read "man mkswap" for starters. An alternative is a swap file, but I think a swap partition is still better.
- I have 150 gigs of un-partitioned space on my hard drive how do I
partition it in Fedora so I can write to it from both linux and win2k if that is even possible
They can both read FAT, and it's probably the easiest middle ground between them, but it doesn't support individual file ownership. Fedora can read NTFS, but I don't know how well it works at read and write. There are add-ons for Windows that allow it to read Linux's EXT3 file systems. You need to work out what's most important to you.
Matthew Hoggan wrote:
I now have win 2k and fedora 7 installed on the same hard drive. However, I have run into a few issues that I am looking for answers.
- fdisk –l is not working
Try just # fdisk and it shows you the form to use. If you have just one hard drive it will be #fdisk /dev/sda and it will let you do your thing.
- is it bad that I did not set up a swap, and if so is there a way I
can set it up in Linux after installation
Sure use fdisk and mkswap.
- I have 150 gigs of un-partitioned space on my hard drive how do I
partition it in Fedora so I can write to it from both linux and win2k if that is even possible
Again you can make a partition and call it a FAT32 partition for example. There is a laundry list of file types available in fdisk.
with-out running fdisk my current set up is
/dev/sda1 win2k MBR 7 gigs
/dev/sda2 linux / Mount point root file system 15 gigs
Should be easy.
Karl