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
 
LinkBack Search this Thread
Old 05-02-2008, 11:09 AM   #1
the lord protector
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
Unhappy mounting linux files from another hard disk(IDE) to current hard disk(sata)


Hi every body .

im actually using debian(in sata) and i wanted to mount files from another hard disk which is an IDE .where in the IDE ,i have both windows and fc6 and i have mounted windows files,but when i have tired to mount linux it doesnt work ..Is that possible to mount linux files ?

When i give fdisk ..

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 11717 73633927+ f W95 Ext'd (LBA)
/dev/sda3 11718 19457 62171550 83 Linux
/dev/sda5 2551 11474 71681998+ 7 HPFS/NTFS
/dev/sda6 11475 11717 1951866 82 Linux swap / Solaris

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1530 12289693+ c W95 FAT32 (LBA)
/dev/hda2 1531 9728 65850435 f W95 Ext'd (LBA)
/dev/hda5 4208 6948 22017051 b W95 FAT32
/dev/hda6 6949 9728 22330318+ b W95 FAT32
/dev/hda7 1531 1543 104359+ 83 Linux
/dev/hda8 1544 4207 21398548+ 8e Linux LVM

i wanted to mount HDA7 and HDA8 to the sata....


thank you..
 
Old 05-02-2008, 11:26 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,676
Blog Entries: 1

Rep: Reputation: 204Reputation: 204Reputation: 204
Quote:
Originally Posted by the lord protector View Post
i wanted to mount HDA7 and HDA8 to the sata....
What does that mean mount to the sata? Why don't you tell us what you're actually doing (i.e., post the commands) and maybe we can help figure out what's going wrong.
 
Old 05-03-2008, 03:27 AM   #3
the lord protector
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Original Poster
Rep: Reputation: 0
hi thanks for the reply

see i have two comp ,1st comp is using the IDE hard drive and the 2nd comp is SATA . suddenly one day my 1st comp(IDE) got some hardware problems and i have taken out that IDE hard drive and used that as storage device .In 2nd comp i'm using debian in SATA hard drive in that same drive i have windows also .
in the IDE i have installed windows and linux(fc6) .. And i want those (IDE)files to mount in this SATA hard drive ..I have mounted windows files to the debian and im wondering is that possible to mount linux files to the debian .
sice the grub wont display the fc6, it will display only the windows and debian for the SATA..

i even tried connecting that IDE to this SATA and installed debian it detects the FC6 and old windows ,but its not booting into that since i have used that in another PC ..


So my problem is i cant access the FC6 files thru debian..

IF im not clear ..kindly excuse me..

Last edited by the lord protector; 05-03-2008 at 03:30 AM.
 
Old 05-03-2008, 08:23 AM   #4
mdjenkins
LQ Newbie
 
Registered: Apr 2008
Distribution: Gentoo
Posts: 25

Rep: Reputation: 15
So there's an old hard drive plugged in via IDE showing as /dev/hdb and you want some files off /dev/hdb8.
If I understood that correctly what happens when you run these commands:
Code:
sudo mkdir /mnt/old_deb
sudo mount /dev/hdb8 /mnt/old_deb
 
Old 05-03-2008, 09:47 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,562

Rep: Reputation: 684Reputation: 684Reputation: 684Reputation: 684Reputation: 684Reputation: 684
hda8 can not be mounted as such since it is an LVM partition. In a nutshell look at the output of the vgdisplay command. The default fedora / partition will be VolGroup00, LogVol00.

mount -t ext3 /dev/VolGroup00/LogVol00 /mount/point (As already suggested use mkdir to create a directory)

hda7 is your /boot partition and only contains the kernel. I would assume that all the information you want will be on the fedora / volune. However, it can be mounted like

mount -t ext3 /dev/hda7 /mount/point.

Last edited by michaelk; 05-03-2008 at 09:49 AM.
 
Old 05-04-2008, 11:30 AM   #6
the lord protector
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks michaelk now i can access my files buddy .. and more more thing .i want access this files as normal user and not as root ... i just want to clarify that is this correct r not .

i have changed the sudoers file as shown below ... i want to know that whether its correct r not ..My user name is maximas

Quote:
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

Defaults env_reset

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL) ALL
%maximas ALL=(ALL) ALL
 
  


Reply

Tags
mount


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Now I have a scsi hard disk, two IDE hard disk, i want install linux on scsi hard dis tecpenguin Linux - Server 4 11-10-2007 06:44 AM
cant mount ide#1 SATA hard disk, sugar2 Linux - Hardware 3 11-02-2007 06:36 PM
SATA Hard disk(Windows) MBR corrupted by IDE hard disk(Linux) Peter_APIIT Fedora 6 07-07-2007 12:20 AM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
SATA hard disk and linux fobius Linux - Hardware 0 01-24-2004 02:31 PM


All times are GMT -5. The time now is 12:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration