find out filesystem being used how?
Thufir
hawat.thufir at gmail.com
Mon Oct 16 07:36:00 UTC 2006
I have a triple boot system: Fedora, Gentoo and Win2k.
How do I find out the filesystem which the Gentoo installation employs?
If Gentoo's using ext3, then I'd add the following line to the /etc/fstab
file?
/dev/hdb3 /mnt/gentoo ext3 users,owner,rw,umask=000 0 0
?
Can I probe hdb3 to find out the filesystem? I think it's ext3, but don't
recall.
[root at arrakis ~]#
[root at arrakis ~]# cat /etc/fstab -n
1 /dev/VolGroup00/LogVol00 / reiserfs defaults 1 1
2 LABEL=/boot /boot ext3 defaults 1 2
3 devpts /dev/pts devpts gid=5,mode=620 0 0
4 tmpfs /dev/shm tmpfs defaults 0 0
5 proc /proc proc defaults 0 0
6 sysfs /sys sysfs defaults 0 0
7 /dev/hdb3 swap swap defaults 0 0
8 /dev/VolGroup00/LogVol01 swap swap defaults 0 0
9 /dev/hdb1 /mnt/windows vfat users,owner,rw,umask=000 0 0
[root at arrakis ~]# fdisk -l
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 13 104391 83 Linux
/dev/hda2 14 9729 78043770 8e Linux LVM
Disk /dev/hdb: 30.7 GB, 30750031872 bytes
255 heads, 63 sectors/track, 3738 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 1427 11462346 c W95 FAT32 (LBA)
/dev/hdb2 1428 1440 104422+ 83 Linux
/dev/hdb3 1441 1495 441787+ 82 Linux swap / Solaris
/dev/hdb4 1496 3738 18016897+ 83 Linux
Disk /dev/dm-0: 78.8 GB, 78852915200 bytes
255 heads, 63 sectors/track, 9586 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 1006 MB, 1006632960 bytes
255 heads, 63 sectors/track, 122 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-1 doesn't contain a valid partition table
[root at arrakis ~]#
[root at arrakis ~]# cat /boot/grub/grub.conf -n
1 # grub.conf generated by anaconda
2 #
3 # Note that you do not have to rerun grub after making changes to this file
4 # NOTICE: You have a /boot partition. This means that
5 # all kernel and initrd paths are relative to /boot/, eg.
6 # root (hd0,0)
7 # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
8 # initrd /initrd-version.img
9 #boot=/dev/hda
10 default=0
11 timeout=5
12 splashimage=(hd0,0)/grub/splash.xpm.gz
13 #hiddenmenu
14 title Fedora Core (2.6.17-1.2187_FC5)
15 root (hd0,0)
16 kernel /vmlinuz-2.6.17-1.2187_FC5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
17 initrd /initrd-2.6.17-1.2187_FC5.img
18 title Fedora Core (2.6.17-1.2174_FC5)
19 root (hd0,0)
20 kernel /vmlinuz-2.6.17-1.2174_FC5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
21 initrd /initrd-2.6.17-1.2174_FC5.img
22 title win2k
23 map (hd0) (hd1)
24 map (hd1) (hd0)
25 rootnoverify (hd1,0)
26 chainloader +1
27 title Gentoo
28 kernel (hd1,1)/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hdb4
29 initrd (hd1,1)/initramfs-genkernel-x86-2.6.15-gentoo-r5
[root at arrakis ~]#
[root at arrakis ~]# date
Mon Oct 16 08:31:04 IST 2006
[root at arrakis ~]#
[root at arrakis ~]# exit
logout
[thufir at arrakis ~]$
[thufir at arrakis ~]$
thanks,
Thufir
More information about the fedora-list
mailing list