Results 1 to 6 of 6
Hello everyone output of fdisk -l on my Redhat 5.5 is as follows
Code:
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2490 20000893+ 83 Linux
/dev/sda2 2491 ...
- 09-03-2010 #1
getting data back from a partition after installing new RHEL 5.5.
Hello everyone output of fdisk -l on my Redhat 5.5 is as follows
While mount commad output is as followsCode:Device Boot Start End Blocks Id System /dev/sda1 * 1 2490 20000893+ 83 Linux /dev/sda2 2491 9729 58147267+ 5 Extended /dev/sda5 2491 2614 995998+ 82 Linux swap / Solaris /dev/sda6 2615 7594 40001818+ 83 Linux /dev/sda7 7595 9729 17149356 83 Linux
before installing Redhat i was using Ubuntu on my system and i have some very precious data stored on sd6 and sd7.Code:/dev/sda1 on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) none on /var/lib/xenstored type tmpfs (rw)
what should i do to mount sd6 and sd7 into my Redhat distro to get my data on sd6 and sd7 read by rhel 5.5
thanksLinux is basically a simple operating system, but you have to be a genious to understand the simplicaity - Dennis Ritchie
- 09-03-2010 #2
It looks like data is intact in sda6 and sda7 because RH is using only sda1 partition.
In which filesystem sda6 and sda7 have been formatted?
Have you tried to mount sda6 partition manually?
Check /media/sda6 and sda7 folders.Code:su - cd /media mkdir sda6 sda7 mount -t filesystem /dev/sda6 /media/sda6 mount -t filesystem /dev/sda7 /media/sda7
In case it doesn't work, you have to boot up from Ubuntu LiveCD and mount both partitions.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-03-2010 #3
u got it so right
i tried ext2,ext3 both of them didnt worked so i treid ext4 it worked.thanks man
is there any way to check wt filesystem these partitions are using?Linux is basically a simple operating system, but you have to be a genious to understand the simplicaity - Dennis Ritchie
- 09-03-2010 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Usually if you omit the type information when mounting a partition, mount will figure it out for you. However, sometimes it can't and you will have to supply the type to it. At least you were able to get the ext4 drivers with your RHEL system. I think it has been included in the latest kernel updates. I know it is now on my CentOS 5.5 system (running latest kernel) and the dates on the ext4 tools (fsck, mkfs) are March 31, 2010. Of course that may correspond with the last time I configured and built a custom kernel as well...
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-03-2010 #5
Execute blkid command with root privileges to check filesystem of partitions.
In Ubuntu, execute this
Code:sudo blkid
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-03-2010 #6Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Re. blkid - thanks DC. I forgot about that. Must be one of those senior Fritz (as in Alzheimer) moments!
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote