LinuxQuestions.org
Review your favorite Linux distribution.
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-07-2001, 04:02 PM   #1
PenguinOs
LQ Newbie
 
Registered: Nov 2001
Distribution: Red Hat 7.2
Posts: 3

Rep: Reputation: 0
Windows partitions in linux???


I have checked some of the questions/answers in this forum regarding this procedure but since I let Linux partition my hd automatically, I did not pay attention to the hdxy of which partition belongs to which hd..

Is there anyway under linux to see what is on the complete harddrive? I am currently dualbooting win2k and linux.. and I have 9 windoze partitions and 1 linux partition...

Any help would be appreciated!

Harry
 
Old 11-07-2001, 04:39 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well to see what partitions are on the machine's harddrives, use cfdisk, or fdisk. on redhat you can used diskdruid, and mandrake you can use diskdrake, this wil list the harddrives, and the partitions.

after that it's all down to /etc/fstab, on which there is vast quantities on info on this site. some, if not all, the partitions should already be listed there tho
 
Old 11-07-2001, 06:38 PM   #3
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Yeah...what he said! LOL And if you want a comprehensive list of info at the console type dmesg |more You'll be able to find which one is ext2 and vfat etc...
 
Old 11-08-2001, 09:22 AM   #4
torne
LQ Newbie
 
Registered: Nov 2001
Location: Cambridge, UK
Distribution: Debian!
Posts: 13

Rep: Reputation: 0
Note about Win2k partitions

Two minor problems you might encounter:

First - Linux currently only supports read-only access to Windows 2000 partitions that are formatted as NTFS. (and write access to NT partitions in general is unsupported and *dangerous* - I've killed disks like that). So you can *read* all your files, but can't save anything to the disk.

If you want to be able to copy files between the systems you will need a FAT partition.

Second - If you mount NTFS partitions under Linux they are by default only readable by root. To allow other users access, you will want to pass a umask option to mount:
mount -o umask=0000 /dev/hda2 /mnt/2000
for example.

Torne
Electric Wuffpup.
 
Old 11-08-2001, 10:54 AM   #5
w0rmh0l3
Member
 
Registered: Nov 2001
Distribution: Mandrake 8.1
Posts: 30

Rep: Reputation: 15
I seriously vote for torne to be elevated from newbie status immediately. :P
 
Old 11-09-2001, 10:15 PM   #6
9nine9
Member
 
Registered: Nov 2001
Distribution: Debian, Fedora, Kubuntu, Puppy
Posts: 166

Rep: Reputation: 30
Didn't I read somewhere that SuSE could read and write to other Windows partitions? I'm thinking of installing Linux on a Win98 machine but haven't decided on which one yet.

This is my first post and I'm trying to get the hangola of this new (for me) forum format.

 
Old 11-10-2001, 06:59 PM   #7
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
[QUOTE]Originally posted by 9nine9
[B]Didn't I read somewhere that SuSE could read and write to other Windows partitions? I'm thinking of installing Linux on a Win98 machine but haven't decided on which one yet.

Yes, you can read and write to any FAT/FAT32 partition. Torne was saying above that only the NT file system is under issue of read-only access. So you're fine with anything like Win3.1/9x...Can't say about XP, may be built on NT platform, haven't cared to look at another expensive Internet Explorer update! LOL
 
Old 11-10-2001, 07:01 PM   #8
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Quote:
Oopsie daisies...Sorry about the poor quoting!
 
Old 11-10-2001, 08:40 PM   #9
9nine9
Member
 
Registered: Nov 2001
Distribution: Debian, Fedora, Kubuntu, Puppy
Posts: 166

Rep: Reputation: 30
Quote:
Originally posted by taz.devil
Yes, you can read and write to any FAT/FAT32 partition.
Thanks for clearing that up for me taz. Does this apply to any of the Linux distros? I guess that begs the next question. Will Windows read and write to the Linux partition? Linux doesn't go on a Fat partition, right?
 
Old 11-11-2001, 04:47 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
ALL linux distros can use fat32 fine, but are natively on ext2/ext3 or reiserfs typically, none of which are even vaeguely offical readble by windows. a prog called explore2fs can do ext2 tho, but it's not too hot.
 
Old 11-11-2001, 08:28 AM   #11
torne
LQ Newbie
 
Registered: Nov 2001
Location: Cambridge, UK
Distribution: Debian!
Posts: 13

Rep: Reputation: 0
Windows XP Home edition uses FAT32 for its filesystem, the Professional version uses NTFS. I think.

There are a few different programs to allow you to access ext2 partitions from Windows, and at least one whole filesystem driver (allows you to use the Linux drive directly from Explorer..etc) - however, these seem, without exception, to be almost as risky as writing to NTFS from Linux. =)

I can't remember where any of them are at the moment, searching on www.google.com/linux is probably a good bet.

Ext3 can be read by an ext2 driver (they are in fact the same filesystem with an extra property - the journal) but if you write to ext3 using an ext2 driver then the journal will be invalidated and will have to be recreated by fsck.ext3 the next time you use Linux.

ReiserFS, as far as I can tell, is not readable by Windows. It's likely not yet finalised enough to start writing drivers for other operating systems.

I use ReiserFS, btw. SuSE comes with Reiser support by default, new versions of RedHat come with ext3, and Debian has install disks for both, though they are not perfect yet.

Torne
Electric Wuffpup.
 
Old 11-11-2001, 03:28 PM   #12
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Quote:
Originally posted by acid_kewpie
ALL linux distros can use fat32 fine, but are natively on ext2/ext3 or reiserfs typically, none of which are even vaeguely offical readble by windows. a prog called explore2fs can do ext2 tho, but it's not too hot.
Along with eplore2fs there are a few others, i use one called LTools. They do have write to ext2 ability, but most of those programs warn against it as per it can damage the filesystem. But it's nice to be able if you are in winders to see your ext2 tree.
 
Old 01-04-2002, 06:10 PM   #13
Nooooobie
LQ Newbie
 
Registered: Aug 2001
Location: Pensacola, FL
Distribution: Win98+WinLinux+Red Hat 7.1 on one system Win98+Peanut 8.4 on the other.
Posts: 27

Rep: Reputation: 15
Quote:
Windows XP Home edition uses FAT32 for its filesystem, the Professional version uses NTFS. I think.
I don't know about XP Home Edition, but when you install Professional Edition, it gives you a choice between FAT32 and NTFS.
 
Old 01-11-2002, 08:06 PM   #14
xcon
Member
 
Registered: Jan 2002
Location: Ohio
Distribution: Slackware 9.1 (and some 9.0)
Posts: 181

Rep: Reputation: 30
What I Have Come To Know About File Systems:


XP, you always get a choice. unless you have NTFS to begin with...

i guess FAT converts to FAT32 and FAT32 converts to NTFS, but never in the opposite direction. in order to go back a stage, you have to back it all up, re-format, and start again... XP can use/reside on any of those 3.

Unless you want a windows-only drive, stay off NTFS. Only WNT, W2K, and WXP can use it. There are DOS and win9x drivers for it, but they aren't free. and like they said, linux can read but writing screws it all up. there's a fix proggie that comes with libntfs that's supposed to undo the carnage, and keep the changes, but i never even got the drivers installed.


use FAT32 if you have win9x, FAT if you have anything else (DOS, W3.1)

FAT is also necessary if you want to use DoubleSpace or DriveSpace. I have NO idea if anything but win9x can see DS... MSDOS can use DoubleSpace, but DriveSpace drivers for those volumes in W9x ask to upgrade the volume format and it gets ugly. i got all kinds of errors when i wrote to that one in W98 and back on the 486 overdrive in DOS things were said to be ruined.

WXP does not support any compressed volumes, they expect one to use NTFS's compression. Which is optional (and invisible, i think). but i don't care, i hate NTFS since it doesn't allow DOS-mode at all. I had to reinstall XP for my dude because he got some registry optimizer that created undo files in the form of .reg entries, which can't be entered unless you have either a working XP or at least a DOS mode from a boot floppy. XP died.

Linux is cool. I'd like to see my ext3 in WXP, but then again-- XP might invoke e-X-treme -P-ain and try to record changes or create a recycle bin system folder-- forget it. It's safer as an invisible, unmountable, unknown partition.

I like to use linux to mount and alter WXP. when XP cannot protect its precious system files and folders, I can hack up and change anything i like, e.g. NTOSKRNL.EXE has the boot logo, but you need another way in... that one's locked down. Look! it's that KDE fella! and his little friend, the gnome!
 
Old 01-11-2002, 08:26 PM   #15
xcon
Member
 
Registered: Jan 2002
Location: Ohio
Distribution: Slackware 9.1 (and some 9.0)
Posts: 181

Rep: Reputation: 30
sorry i forgot

to see all partitions:
if you have grub ((cheers) I love grub!), you can enter its shell and have it show you everything it sees. type almost any command, like root or hide or install then hit tab and it will bug you for a pathname or blocklist. start with

grub> root (h

to see hard drives, then hit tab again and it will complete the d and ask for which disk-- i have 2.

hd0
hd1
which one? blah-blah....

grub> root (hd

so you supply the 0 and hit tab again:

filesystems on hd0:

0: filesystem is fat32 partition type 0x0c
1: filesystem is fat32 partition type 0x0c
2: filesystem is ext2fs partition type 0x83

grub> root (hd0,

or something like that, then continue with a number and hit tab again, you can put a root symbol (/) after it closes the parentheses and hit tab again, it will usually list the contents of the root directory. keep dropping a few letters and hitting tab, you can navigate fat and fat32 as well as ext_, maybe others?
a pathname looks like

grub> root (hd0,0)/windows/system32/ntoskrnl.exe

yea right!!! LOL

if someone used cat properly (it's easy) they could print the contents of any file to the screen without even booting!! that's why the grub password is so appropriate, on top of preventing kernel control before any login.
 
  


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
windows linux partitions daveoily Amigo 8 01-16-2007 11:58 AM
Linux Partitions in Windows BRC Linux - Newbie 8 11-07-2004 07:32 PM
Linux and Windows on different partitions? shaun89 Linux - General 8 07-29-2004 02:59 AM
having both linux and windows partitions ccflashback Linux - Newbie 14 01-22-2004 08:10 PM
windows/linux partitions??? MeanJoshGreen Linux - Newbie 13 02-18-2002 09:29 AM


All times are GMT -5. The time now is 02:58 PM.

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