LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-02-2005, 11:45 PM   #16
otakuprinzess
Member
 
Registered: Jan 2005
Location: My room...my car...at friends places
Distribution: MandrakeLinux 10.1 Official
Posts: 36

Original Poster
Rep: Reputation: 15

Hiyas fancy piper...

I've gotten to know my old friends mount and umount again and have (re-)read through nearly all of the links you've given me.

I tried to create a logical partition on my HiMD unit and found that there was already 1, and it was FAT32. Allow me to show you what fdisk is telling me (hey kids, she learns fast!)...

Device Boot Start End Blocks Id System
/dev/sdb1 150 253 122720 83 Linux

Okay, so this is something I did manually. Not the greatest thing in the world, but I tried.

Now, I had to restart for this new file system to occur, but everything is still the same. I can view the folders (and they're still there, they're folders/files the HiMD auto creates) and I've umounted /mnt/himd and I've (re)mounted my HiMD with this command:

mount -rw /dev/sdb

And its still a read only drive. Is there anything you can think of that I'm missing?

~Prinzess
 
Old 05-03-2005, 12:11 AM   #17
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
unmount the drive you have mounted

Code:
root@<yourmachine> # umount /mnt/himd
Now, find out exactly how the drive is partitioned
Code:
root@<yourmachine> # fdisk /dev/sdb
Now, use the p command of fdisk to print out for you to see how the disk is actually partitioned up.

Note down what you see. Exit with q if you wish to quit without changing anything, for example you have files there you want to keep or recover.

Make a mountpoint for each partition you found on /dev/sdb

Let's say we found only /dev/sdb1 on that drive and you decide to mount it on /mnt/himd
Code:
root@<yourmachine> # mkdir /mnt/himd
root@<yourmachine> # mount /dev/sdb1 /mnt/himd
root@<yourmachine> # cd /mnt/himd
root@<yourmachine> # ls
See anything?

If you exit the fdisk program with a w, you write a new partition table to the drive. Then you will have to format (mkfs in Linux) each partition, primary or logical (don't try to format or mount an extended partition), make a mount point, then mount drive.

Tinker around with this, but be careful about your commands because this is all root work. When you have it all figured out, edit your /etc/fstab file to reflect what you have for each physical drive you have attached to your box and where you want to put it on your filesystem.

Last edited by fancypiper; 05-03-2005 at 12:23 AM.
 
  


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
sunOS 5.5.1 and mounted folders FiveFlat Solaris / OpenSolaris 6 12-10-2004 02:06 PM
Mounted Folders bendeco13 Linux - General 6 10-07-2004 06:31 PM
How to view sizes of folders? atheist Linux - General 2 02-16-2004 06:03 PM
How do I view Mounted CD ? MONA Slackware 5 05-26-2003 10:04 PM
Hidden folders ... how can I view them? orange400 Linux - General 4 03-23-2003 11:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:30 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
Open Source Consulting | Domain Registration