LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-04-2007, 05:02 AM   #1
ashkael
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Rep: Reputation: 0
Trying to find another partition


Hello, I'm using slackware 11, and I have three partitions, swap, ext3 (where linux are) and ext3 (wich I couldn't find).

How to find this partition, do I need it mount or smtg? And also I have two cd-roms, one I can find other not :/

P.S. sorry for my english language
 
Old 02-04-2007, 06:34 AM   #2
tbutttbutt
Member
 
Registered: Jan 2006
Location: India
Distribution: Fedora 7, Linuxfromscratch 6.2
Posts: 66

Rep: Reputation: 15
Yes you will have to mount your partition.

First find it with fdisk -l as root

Then mount it with something like:
mount -t ext3 /dev/hda5 /mnt/mypartition
(replace your own partition and directory in place of 'hda5' and 'mypartition')

Your second CD may be there as hdd or something. Look for it in the /device directory. It should be there as /dev/hdd or something, or as a link to it.

Then mount it with a similar command:
mount -t iso9660 /dev/hdd /mnt/cdrom2
(with appropriate changes of course)
 
Old 02-04-2007, 08:21 AM   #3
ashkael
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Original Poster
Rep: Reputation: 0
I think i done it, but is there any way to add cdrom and new partition to storage media? That I can see new partitinio info, usage etc...

Last edited by ashkael; 02-04-2007 at 09:41 AM.
 
Old 02-08-2007, 05:28 AM   #4
tbutttbutt
Member
 
Registered: Jan 2006
Location: India
Distribution: Fedora 7, Linuxfromscratch 6.2
Posts: 66

Rep: Reputation: 15
You can add entries to your /etc/fstab file, line by line, for each device you want mounted automatically at boot time, and reboot.
The format of the file is like:

device mount-point filesystem options
eg:

/dev/hda5 /mnt/data ext3 default 0 0

OR

/dev/hdd /mnt/cdrom2 iso9660 default 0 0

See the manual for the mount command and also for the fstab file format:

man mount

man fstab

see your /etc/fstab file with 'cat /etc/fstab' and then add the new entries with an editor.

Be very careful with this file. Make a copy first and then edit it.
 
  


Reply



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
how to find unmounted partition cnm Linux - Newbie 9 11-18-2006 08:17 AM
How do I find what directory is on what partition? mijohnst Linux - Newbie 2 10-05-2005 04:16 PM
can't find FAT32 partition nefariousmonkey Linux - Newbie 7 11-22-2004 05:34 PM
Trying to find XP partition johannesc Linux - General 3 04-18-2004 11:51 PM
how can i find my boot partition true_atlantis Linux - General 4 11-30-2003 06:01 AM

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

All times are GMT -5. The time now is 05:50 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