I used fdisk to delete all partitions of hdb and create a new one.
Disk /dev/hdb: 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/hdb1 1 9729 78148161 83 Linux
----------------------------------------------------------------------------
---Starting--- ----Ending---- Start Number of
# Flags Head Sect Cyl ID Head Sect Cyl Sector Sectors
-- ----- ---- ---- ---- ---- ---- ---- ---- ------- ---------
1 0x00 1 1 0 0x83 254 63 1023 63 156296322
2 0x00 0 0 0 0x00 0 0 0 0 0
3 0x00 0 0 0 0x00 0 0 0 0 0
4 0x00 0 0 0 0x00 0 0 0 0 0
When I did 'mount /dev/hdb1 /mnt/hdb1' I got 'mount: you must specify the filesystem type'. I really didn't understand it because it already says in cfdisk and fdisk that the system is Linux(id 83).
This is what it says in /var/log/messages about it:
Jun 2 20:42:17 localhost kernel: FAT: bogus number of reserved sectors
Jun 2 20:42:17 localhost kernel: VFS: Can't find a valid FAT filesystem on dev hdb1.
Solution
Creating the partition is not enough to use it, you need to put a filesystem on it. ie:
mkfs.ext3 /dev/hdb1
Then you can mount it using
mount -t ext3 /dev/hdb1 /mnt/hdb1
The file is present in root:
[root@Server-3 /]# rpm -ivh --replacefiles atftp-server-0.7-5.2.el4.rf.i386.rpm
warning: atftp-server-0.7-5.2.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing... ########################################### [100%]
1:atftp-server ########################################### [100%]
http://docstore.mik.ua/orelly/other/LRH/chp-8-sect-5.html
No comments:
Post a Comment