Compiling new kernel 2.6.21.3

Man-wai Chang mwchang
Thu Jun 21 04:30:00 PDT 2007


> Do you solve the problem? If you got a solution, plz let me know that. 

Are you using Ubuntu?

well, look at /etc/fstab. Then look at /boot/grub/menu.lst.
You would use notice that menu.lst is using UUID rather than the exact
device name. Change the UUID to device names in menu.lst, then
grub-install /dev/hda again would fix it.

Here are the exact and better way to do it:

modify /boot/grub/menu.lst
find the line
# kopt=root=UUID=....
change it to
# kopt=root=/dev/hda2
modify /usr/sbin/update-grub
comment out the two lines that called convert_kopt_to_uuid()
update-grub
(or grub-install /dev/hda)

-- 
   @~@    http://changmw.homeip.net
  / v \   May the Force and Farce be with you! Linux 2.6.21.5
/( _ )\  (Xubuntu 7.04)  19:18:01 up 3 days 8:50
   ^ ^    0 users load average: 0.00 0.01 0.00
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk



More information about the Linux-users mailing list