I am considering changing my server from Ubuntu to Centos. I have been tinkering with a box that will eventually become a new server. I am having a problem.
This box has two ide drives. Originally I had a Ubuntu desktop installed on hda and then added a Centos server installed on hdb. I wanted to try a different server configuration without overwriting the current install on hdb. With the server on hdb running, I mounted hda and copied some important files from the Ubuntu drive to the Centos drive.
I installed a another instance of centos on hda and everything worked fine. With the hda install running, I have attempted to mount hdb so that I can retrieve my files. The problem I have is that when I mount the drive I am taken to the boot directory on hdb and cannot navigate to the directory that holds my files.
How do I get access to the rest of the drive?
Thanks
Lance Earl
On 1/27/07, Lance Earl lance@dallypost.com wrote:
I am considering changing my server from Ubuntu to Centos. I have been tinkering with a box that will eventually become a new server. I am having a problem.
This box has two ide drives. Originally I had a Ubuntu desktop installed on hda and then added a Centos server installed on hdb. I wanted to try a different server configuration without overwriting the current install on hdb. With the server on hdb running, I mounted hda and copied some important files from the Ubuntu drive to the Centos drive.
I installed a another instance of centos on hda and everything worked fine. With the hda install running, I have attempted to mount hdb so that I can retrieve my files. The problem I have is that when I mount the drive I am taken to the boot directory on hdb and cannot navigate to the directory that holds my files.
Earl,
Could you give more info please? Maybe you are mounting the wrong partition or something on hdb? What's your partition table like on hdb?
Thanks, Rakhesh
Lance Earl wrote:
I am considering changing my server from Ubuntu to Centos. I have been tinkering with a box that will eventually become a new server. I am having a problem.
This box has two ide drives. Originally I had a Ubuntu desktop installed on hda and then added a Centos server installed on hdb. I wanted to try a different server configuration without overwriting the current install on hdb. With the server on hdb running, I mounted hda and copied some important files from the Ubuntu drive to the Centos drive.
I installed a another instance of centos on hda and everything worked fine. With the hda install running, I have attempted to mount hdb so that I can retrieve my files. The problem I have is that when I mount the drive I am taken to the boot directory on hdb and cannot navigate to the directory that holds my files.
How do I get access to the rest of the drive?
Mount the other partition:-)
John Summerfield wrote:
Lance Earl wrote:
I am considering changing my server from Ubuntu to Centos. I have been tinkering with a box that will eventually become a new server. I am having a problem.
This box has two ide drives. Originally I had a Ubuntu desktop installed on hda and then added a Centos server installed on hdb. I wanted to try a different server configuration without overwriting the current install on hdb. With the server on hdb running, I mounted hda and copied some important files from the Ubuntu drive to the Centos drive. I installed a another instance of centos on hda and everything worked fine. With the hda install running, I have attempted to mount hdb so that I can retrieve my files. The problem I have is that when I mount the drive I am taken to the boot directory on hdb and cannot navigate to the directory that holds my files.
How do I get access to the rest of the drive?
Mount the other partition:-)
After I sent this it occurred to me that filesystem labels may be biting you. Probably, you have two partitions with each filesystem label. Linux tends to choose the Wrong One.
Change /etc/fstab to use device names instead of filesystem labels.
"mount the other partition" still applies, but if you're using LVM the device name has a long and convoluted name, and I don't know how you "mount the other one."
John Summerfield wrote:
After I sent this it occurred to me that filesystem labels may be biting you. Probably, you have two partitions with each filesystem label. Linux tends to choose the Wrong One.
Change /etc/fstab to use device names instead of filesystem labels.
"mount the other partition" still applies, but if you're using LVM the device name has a long and convoluted name, and I don't know how you "mount the other one."
Filesystem labels suck. I've had them break on single systems shortly after installation, therefore, as part of my install process, I go through and 'fix' them to reflect the actual device/partition names instead. Filesystem labels should be dragged through the mud, by a wild horse, kicked in the nads, and burned at the stake.
Peter
Peter Serwe wrote:
John Summerfield wrote:
After I sent this it occurred to me that filesystem labels may be biting you. Probably, you have two partitions with each filesystem label. Linux tends to choose the Wrong One.
Change /etc/fstab to use device names instead of filesystem labels.
"mount the other partition" still applies, but if you're using LVM the device name has a long and convoluted name, and I don't know how you "mount the other one."
Filesystem labels suck. I've had them break on single systems shortly after installation, therefore, as part of my install process, I go through and 'fix' them to reflect the actual device/partition names instead. Filesystem labels should be dragged through the mud, by a wild horse, kicked in the nads, and burned at the stake.
and I've had Linux decide to renumber its SCSI devices when I added a SAN logical unit on a system with both fiberchannel and ISCSI interfaces.
without labels, it would mounted the wrong file system.