dell 320本身的问题导致在安装Ubuntu的时候总出现问题,grub无法引导的问题。有两种方案可以解决一种是使用grub2,另一个是lilo.方法如下:
你需要一张live CD.
一、安装grub2.
二、安装lilo
你需要一张live CD.
一、安装grub2.
sudo mkdir /media/root
sudo mount /dev/sda3 /media/root #(挂载的分区取决于你安装Ubuntu的分区)
sudo mount -t proc none /media/root/proc
sudo mount -o bind /dev /media/root/dev
sudo chroot /media/root
aptitude install grub2
grub-install /dev/sda
update-grub
reboot
二、安装lilo
sudo mkdir /media/root
sudo mount /dev/sda3 /media/root #(挂载的分区取决于你安装Ubuntu的分区)
sudo mount -t proc none /media/root/proc
sudo mount -o bind /dev /media/root/dev
sudo chroot /media/root
aptitude install lilo
vi /etc/lilo.conf
# These images were automagically added. You may need to edit something.
image=/boot/vmlinuz-2.6.28-11-generic
root=/dev/sda3
label="Lin 2.6.28img0"
initrd=/boot/initrd.img-2.6.28-11-generic
append=" pci=nomsi all_generic_ide quiet splash "
read-only
image=/boot/memtest86+.bin
label="Memory Test+"
read-only
# If you have another OS on this machine (say
DOS),
other=/dev/sda1
label="MS Windows"
lilo -b /dev/sda
lilo -v
reboot