|
我想将一块NTFS格式的SCSI硬盘加载至LINUX(RH8.0)中,因为这个盘里有很多资料,我首先在WEBMIN下尝试加载没有成功,一想就直接在文本下改,
我改了两个文件,
/etc/fstab
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/var /var ext3 defaults 1 2
/dev/sda5 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/sdb1 /mnt/ntfs1 ntfs iocharset=cp936 0 0
/dev/sdb3 /mnt/ntfs3 ntfs iocharset=cp936 0 0
/dev/sdb4 /mnt/ntfs4 ntfs iocharset=cp936 0 0
另一个是/etc/mtab
/dev/sda1 / ext3 rw 0 0
none /proc proc rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/sda2 /home ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
/dev/sda3 /var ext3 rw 0 0
/dev/sdb1 /mnt/ntfs1 ntfs rw,iocharset=cp936 0 0
/dev/sdb3 /mnt/ntfs3 ntfs rw,iocharset=cp936 0 0
/drv/sdb4 /mnt/ntfs4 ntfs rw,iocharset=cp936 0 0
改完后重启没有加载上,后来看了一下GRUB
/etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/sda1
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-14smp)
root (hd0,0)
kernel /boot/vmlinuz-2.4.18-14smp ro root=LABEL=/
initrd /boot/initrd-2.4.18-14smp.img
title Red Hat Linux-up (2.4.18-14)
root (hd0,0)
kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/
initrd /boot/initrd-2.4.18-14.img
发现这里也要改的,不过以前都是用LILO,GRUB只知道好,却不敢改呀!改完不好起不来我就完了!不知大家有没加载成功的!能提示一下吗? |
|