��M9000�����ʹ�U�����������grubʱ��ut of disk�Ĵ�����scueģʽ[2]����ls������(hd0) (hd0,msdos1)����set������root=hd0,msdos1�����ls (hd0,msdos1)/������u����ṹ�������ls (hd0,msdos1)/boot/�ͳ�ut of disk����Ȼ��insmod normal��nsmod linuxҲȫ���out of disk��
shell-deb:~# fdisk -l /dev/sdb
Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008346c
Device Boot Start End Blocks Id System
/dev/sdb1 1 38214 306946016+ 7 HPFS/NTFS
/dev/sdb2 38214 38914 5624832 83 Linux
���Ҳ��һ����unknown filesystem������etbook������pire 5100�һ���������� (hd0,msdos2)/������¼�ṹ����������
Ŀǰ�����������һ��SB�������IOS��һ��rub2��������a href="">debian.org������װ����������װ������yslinux�ġ�����������˵��grub2���⡣�����������ô��ô���������ľ��ô��
[1].
shell-deb:~# fdisk -l /dev/sdb
Disk /dev/sdb: 8409 MB, 8409579520 bytes
255 heads, 63 sectors/track, 1022 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00060d21
Device Boot Start End Blocks Id System
/dev/sdb1 1 1022 8209183+ 83 Linux
shell-deb:~# mount -t ext3 /dev/sdb1 /root/lu
shell-deb:~# debootstrap testing /root/lu ...
shell-deb:~# LANG=C chroot /root/lu /bin/bash
root@shell-deb:/# passwd
root@shell-deb:/# update-initramfs -u
root@shell-deb:/# mount -t sysfs sysfs sys/
root@shell-deb:/# mount -t proc proc proc/
root@shell-deb:/# update-grub2
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-5-686
Found initrd image: /boot/initrd.img-2.6.32-5-686
done
root@shell-deb:/# fdisk -l /dev/sdb
Disk /dev/sdb: 8409 MB, 8409579520 bytes
255 heads, 63 sectors/track, 1022 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00060d21
Device Boot Start End Blocks Id System
/dev/sdb1 1 1022 8209183+ 83 Linux
root@shell-deb:/# grub-install /dev/sdb
root@shell-deb:/# vi /etc/fstab
Installation finished. No error reported.
root@shell-deb:/# exit
shell-deb:~# cd lu
shell-deb:~/lu# umount sys
shell-deb:~/lu# umount proc
shell-deb:~/lu# cd ..
shell-deb:~# umount lu