当前位置: 技术问答>废旧笔记本-硬盘、光驱均损坏,想安装 red hat 5 有移动硬盘
iis7站长之家
移动硬盘的使用方法
来源: 互联网 发布时间:2017-01-01
本文导语: 目标板硬盘接口为SATA,我的使用步骤是: 1.fdisk -l /dev/sda ,可以看到硬盘信息: Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device...
目标板硬盘接口为SATA,我的使用步骤是:
1.fdisk -l /dev/sda ,可以看到硬盘信息:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3824 30716248+ c Win95 FAT32 (LBA)
/dev/sda2 3825 19456 125564040 f Win95 Ext'd (LBA)
/dev/sda5 3825 7648 30716248+ 7 HPFS/NTFS
/dev/sda6 7649 19456 94847728+ 7 HPFS/NTFS
2.mkdir /mnt/usb,建立USB存储器的目录;
3.mount -t /dev/sda1 /mnt/usb ,将USB设备挂装到/mnt/usb目录下;
结果第三步会出错:mount: cannot read /etc/fstab: No such file or directory
请各位大虾指点下那里有错!谢谢!
1.fdisk -l /dev/sda ,可以看到硬盘信息:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3824 30716248+ c Win95 FAT32 (LBA)
/dev/sda2 3825 19456 125564040 f Win95 Ext'd (LBA)
/dev/sda5 3825 7648 30716248+ 7 HPFS/NTFS
/dev/sda6 7649 19456 94847728+ 7 HPFS/NTFS
2.mkdir /mnt/usb,建立USB存储器的目录;
3.mount -t /dev/sda1 /mnt/usb ,将USB设备挂装到/mnt/usb目录下;
结果第三步会出错:mount: cannot read /etc/fstab: No such file or directory
请各位大虾指点下那里有错!谢谢!
|
如果是桌面发行版,直接插上就能用
如果自己挂载
mount /dev/sda1 /mnt/usb
去掉t试试
如果自己挂载
mount /dev/sda1 /mnt/usb
去掉t试试