LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-20-2004, 01:17 AM   #1
tomamodi
Member
 
Registered: Jul 2003
Location: saudi arabia
Posts: 31

Rep: Reputation: 15
slave hdd


i have redhat installed on primery master other hdd with some other linuxe system instaled
on it is connected to primery slave it is deucted in bios and in hardware brawser as /dev/hdb
and i want to edit some of its files from my redhat did any one help me for this
thanks
 
Old 05-20-2004, 07:34 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Re: slave hdd

Quote:
Originally posted by tomamodi
i have redhat installed on primery master other hdd with some other linuxe system instaled
on it is connected to primery slave it is deucted in bios and in hardware brawser as /dev/hdb
and i want to edit some of its files from my redhat did any one help me for this
thanks
What?

If I'm understanding you correctly, just mount the other drive you have Linux installed on in Redhat and edit the files that way.

man mount for more details.

And just to let you know:

primery = primary
deucted = detected
brawser = browser

And if your asking for help, don't use "did" when asking for help... use "can" ; Your "did any one help me for this" should read like "can any one help me for this"
 
Old 05-20-2004, 07:47 AM   #3
tomamodi
Member
 
Registered: Jul 2003
Location: saudi arabia
Posts: 31

Original Poster
Rep: Reputation: 15
thanks for all

English is not my Language very sorry but happy i convey what i want please understand
the redhat 9 already installed and working at prim master
i have other hdd some other linux operating system and i want to open this in redhat is it possible thank you and great full for your kindness that you read my unreadable lang
thank you again and help me if you can
 
Old 05-20-2004, 07:58 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,540

Rep: Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225
Do you know how the slave drive is partitioned? Log in as root and use the following command
fdisk -l /dev/hdb (that is a small L)

Do you know how the drive is formatted? i.e ext2, ext3, reiserfs?
Using the information from fdisk

mount -t auto /dev/hdbx /mnt/disk

Where x = partition ID using data from output of fdisk command
Be sure to create /mnt/disk directory. If you know how the drive is formatted replace auto with filesystem type i.e. ext2 etc..
 
Old 05-20-2004, 08:02 AM   #5
tomamodi
Member
 
Registered: Jul 2003
Location: saudi arabia
Posts: 31

Original Poster
Rep: Reputation: 15
thank you i will try and inform you
please clear one thing that said hdd second one is very importent do you think fdisk didnt harm the contents of that hdd
 
Old 05-20-2004, 10:08 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,540

Rep: Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225
The fdisk -l option will only display the partition information and then exit. It will not harm the contents of the drive
 
Old 05-20-2004, 02:38 PM   #7
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
yes, just mount the partitions of the second drive as described above, then you will be able to access them as you would any other directory.

 
Old 05-21-2004, 12:26 AM   #8
tomamodi
Member
 
Registered: Jul 2003
Location: saudi arabia
Posts: 31

Original Poster
Rep: Reputation: 15
Disk /dev/hdb: 10.2 GB, 10204766208 bytes
255 heads, 63 sectors/track, 1240 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 25 200781 83 Linux
/dev/hdb2 26 1240 9759487+ f Win95 Ext'd (LBA)
/dev/hdb5 26 1224 9630936 83 Linux
/dev/hdb6 1225 1240 128488+ 82 Linux swap

Command (m for help): q

[root@tomamodi root]# mount -t ext2 /dev/hdb1 /backup
mount: mount point /backup does not exist
[root@tomamodi root]# mount -t ext2 /dev/hdb1 /mnt/disk
mount: mount point /mnt/disk does not exist
[root@tomamodi root]# mount -t auto /dev/hdb1 /mnt/disk
mount: mount point /mnt/disk does not exist
here i am still need help
 
Old 05-21-2004, 02:19 AM   #9
tomamodi
Member
 
Registered: Jul 2003
Location: saudi arabia
Posts: 31

Original Poster
Rep: Reputation: 15
i find it thanks another Q drwxr-xr-x 19 root root 4096 Oct 24 2003 .
drwxr-xr-x 4 root root 4096 May 21 07:38 ..
drwxr-xr-x 3 root root 4096 Dec 9 2002 bariq
drwxrwxr-x 14 root man 4096 Dec 2 23:02 catman
drwxr-xr-x 2 root root 4096 Dec 8 2002 db
drwxr-xr-x 2 root root 4096 Dec 8 2002 dhcpd
drwxr-xr-x 4 root root 4096 Dec 8 2002 lib
drwxr-xr-x 2 root root 4096 Dec 8 2002 local
drwxrwxr-x 3 root uucp 4096 May 17 03:08 lock
drwxr-xr-x 3 root root 4096 Dec 8 2002 log
drwxr-xr-x 2 root root 4096 Dec 8 2002 lost+found
drwxr-xr-x 2 root root 4096 Nov 2 2003 named
drwxr-xr-x 2 root root 4096 Dec 8 2002 nis
drwxr-xr-x 2 root root 4096 Dec 8 2002 preserve
drwxr-xr-x 3 root root 4096 May 20 09:43 run
drwxr-xr-x 10 root root 4096 Dec 1 2002 spool
drwxrwxrwt 2 root root 4096 May 20 10:01 tmp
drwx------ 2 root bin 4096 Dec 8 2002 webmin
drwxr-xr-x 3 root root 4096 Dec 8 2002 yp

this all where i find the mac address normally in witch file it could be hope you help for this
and i want to edit this webmin what command i use
thanks
 
Old 05-21-2004, 07:33 AM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,540

Rep: Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225
You need to create the directories for each filesystem you want to mount.
i.e.
mkdir /mnt/disk

The output of ifconfig will display the MAC address
/sbin/ifconfig

webmin is a directory. What do you want to edit?
 
Old 05-21-2004, 10:24 AM   #11
tomamodi
Member
 
Registered: Jul 2003
Location: saudi arabia
Posts: 31

Original Poster
Rep: Reputation: 15
this is cache box with registered mac address and my lan card is broken i bring the same make and model witch i try but failed to login so i want to edit the mac address this will come on screen at boot
i buy this from third party with no backup
still i am using old one but the connector pins are finished now i solder it several times so i want to change new
 
Old 05-21-2004, 10:30 AM   #12
tomamodi
Member
 
Registered: Jul 2003
Location: saudi arabia
Posts: 31

Original Poster
Rep: Reputation: 15
oh (which) this is typing mistake
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS can't detect my slave HDD twysm cAos 1 05-05-2005 07:50 PM
Master/Slave HDD Question eklitzke Linux - Hardware 4 04-01-2005 04:19 AM
slave hdd canyon289 Linux - Hardware 6 02-24-2005 03:46 AM
Linux HDD as slave? roAder Slackware 1 06-28-2004 08:27 AM
Mandrake 9.0 installation on slave hdd DMBand8700 Linux - Newbie 9 01-21-2003 04:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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