GRUB menu.lst修正
USBメモリからインストールしたdebianですがどうもupdate-grubすると
/boot/grub/menu.lstのrootのhdX,Xとkernelのroot=デバイスがずれてしまうようです。
これを修正するには/boot/grub/menu.lstの ~ 部分だけを編集すれば良いようです。
## ## Start Default Options ## ## default kernel options ## default kernel options for automagic boot options ## If you want special options for specific kernels use kopt_x_y_z ## where x.y.z is kernel version. Minor versions can be omitted. ## e.g. kopt=root=/dev/hda1 ro ## kopt_2_6_8=root=/dev/hdc1 ro ## kopt_2_6_8_2_686=root=/dev/hdc2 ro # kopt=root=/dev/sda1 ro ~~~~ ## default grub root device ## e.g. groot=(hd0,0) # groot=(hd0,0) ~ ~
でこの後にupdate-grubすると期待したものができあがります。