|
我把根分区格式化成了 EXT4 BOOT是ext3
内核编译把EXT3去掉了
现在启动后系统挂载不上/boot 但是能正常启动
启动后要用
mount -t ext4 /dev/sda1 /boot才能挂载的到
怎样让它默认自己挂载了?
GRUB
- default 0
- timeout 5
- splashimage=(hd0,0)/boot/grub/splash.xpm.gz
- title Gentoo Linux 2.6.24-r5
- root (hd0,0)
- kernel /boot/2.6.31-gentoo-r6-c3 real_root=/dev/sda1
- initrd /boot/2.6.31-gentoo-r6-c3
复制代码
- # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
- /dev/sda1 /boot ext4 defaults,noatime1 2
- /dev/sda3 / ext4 noatime 0 1
- /dev/sda2 none swap sw 0 0
- /dev/cdrom /mnt/cdrom auto defaults,ro 0 0
- /dev/fd0 /mnt/media auto defaults,noatime0 0
复制代码 |
|