Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
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.
Running only Fedora right now got rid of XP.I have a 200 GB slave drive and I have saved alot of pics and stuff.Well in fedora where do I go to actually see these items and be able to work with them. Thank You
Notes:
if XP was pre-installed you probably have a single partition on the 200GB, named /dev/hdb1.
In any event, your data is *probably* on an NTFS partition, so may be read-only access under Linux, just so you know if you find you can't write to the 200GB. Maybe someone else can give advice on that one if needed.
Ok well what I have on drive i can replace so what commands do I need to run to rid the drive of the NFTS partion and set it back up with a FAT32 partion.I assume once a FAT 32 partion is in place I will see the drive inside Computer.
First at all, as Robert said, no matter which filesystem do you have, you will see your partition(s) under Linux, BUT if it is a NTFS partition without an special program (usually (always?) non-free, see this for example) you will only be able to see it and to to write on it (i.e read-only) in the other hand, if your patition is FAT32 you'll have no problems and you will have full acces to it.
To convert the partition I would advise you to use Partition Magic (or similar program) (recomend a win program to do this because both FAT and NTFS are win-filesystems) ... But it depends on how much free space do you have in your 200Gb disk and how many partitions to decide which is the better way to do it...
send us the output of
Code:
/sbin/sfdisk -l
good luck!
and be carefull with the convertion as i could end in a loss of data, it'd be better to resize the NTFS(as small as possible) -> create FAT32 (in the unallocated sapce) -> copy data do FAT32 partition -> delete NTFS part. -> resize FAT32...(or creata an other FAT32 or an ext3 , as you like)
bdox is quite correct.
PM is *the* one I would suggest.
If you can still boot XP, you have 2 choices:
1)
a) boot XP & defragment the drive. My Computer, RIGHT-click C:, select tools, select defrag, & walk away for a while. *** Unless XP hides it somewhere else -- I don't use nor much know XP, but this is -probably- right.
b) NOW do PM, reduce as much as possible.
c) create F32 filling unused space.
d) boot linux, mount both, fins & move all you want *OR* as much as you can to new F32.
e) if need to move more, repeat b) through d) to get here again.
If you cannot boot XP, or if you'ld just rather...
(I've done this about 1,000,000 times, BUT I was using PM7 or earlier; for XPartition, I'd bet heavily you need PM8 or later. Probably still safe, and I won't make foolish noises about being sure to back up your drive... you know it, I know it, and the weed beside the mailbox-post knows it, but $$$ count, don't they?...
The Other Choice (Only, if you can't boot XP):
2)
Use PM to CONVERT ntfs to f32.
Yes you will lose data *ABOUT* files. Linux woudln't use anyways, and you're zaping XP, right? "Bye-ee."
End result either way: a f32 part (of whatever size) that Linux can read AND WRITE.
[lynn@localhost ~]$ su
Password:
[root@localhost lynn]# /sbin/sfdisk -l
Disk /dev/hda: 77504 cylinders, 16 heads, 63 sectors/track
Warning: The partition table looks like it was made
for C/H/S=*/255/63 (instead of 77504/16/63).
For this listing I'll assume that geometry.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 12 13- 104391 83 Linux
/dev/hda2 13 4862 4850 38957625 8e Linux LVM
/dev/hda3 0 - 0 0 0 Empty
/dev/hda4 0 - 0 0 0 Empty
Warning: start=63 - this looks like a partition rather than
the entire disk. Using fdisk on it is probably meaningless.
[Use the --force option if you really want this]
[root@localhost lynn]#
oops... yeah, /sbin/sfdisk -l /dev/hdb as root will be ok
but /sbin/sfdisk -l as a normal user (non root) would be fine too. (the output must be about all the disks...
[lynn@localhost ~]$ su
Password:
[root@localhost lynn]# /sbin/sfdisk -l /dev/hdb
Disk /dev/hdb: 24321 cylinders, 255 heads, 63 sectors/track
detected Disk Manager - unable to handle that
/dev/hdb: unrecognized partition
No partitions found
[root@localhost lynn]#
hummmm.... i don't like that "No partitions found"... are you sure that is there data in that disk?
"No partitions found" is not good. look in the hwbrowser (command) for your disk and findout which partition contains the data, mount it and if root can't write (create, delate or modify) files there so you'd better copy the data to other place (in the master or in a new partition in the slave) and then it'd be good to format the partition as FAT32 or ext3. so... does hwbrowser see your partitions on the slave? which are their names (hdb3?, hdc4? ...)
Well I did run fdisk /dev/hdb and deleted the partion.Now I seem to be not doing something right to get it set up with a new partion that I can work with.I tell it to do a new partion and tell it primary.I tell it 1 for beging and the other number it comes up with for end.But not sure how to tell it what type or what ever else I need to do.Its 200 GB and just want single partion.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.