Jerry Geis
2006-Nov-21 20:43 UTC
[CentOS] how do you redo the LABEL tag so the machine boots
I got a different motherboard today. took my sata drive and put it on the new motherboard. On boot it says kernel panel not LABEL=/ not found. How do I redo the label and tell it /dev/sda1 is "/"? Jerry
On Tue, 2006-11-21 at 15:43 -0500, Jerry Geis wrote:> I got a different motherboard today. > > took my sata drive and put it on the new motherboard. > On boot it says kernel panel not LABEL=/ not found. > > How do I redo the label and tell it /dev/sda1 is "/"?Use e2label to change the label on your drive: Usage: e2label device [newlabel] Iirc you can boot the rescuecd and do it from there. Regards, Patrick
John Newbigin
2006-Nov-21 23:33 UTC
[CentOS] how do you redo the LABEL tag so the machine boots
Sounds more like a driver issue though. Your initrd may not have the sata driver for the new mb so it can't find the disk. Unless you had another filesystem with the same label you should not need to rename it. If you can boot up on the old mb, you can build a new initrd with the correct driver. The easiest way is probably to edit scsi_hostadapter in /etc/modprobe.conf but you can also use the --with= parameter to mkinitrd. John. Jerry Geis wrote:> I got a different motherboard today. > > took my sata drive and put it on the new motherboard. > On boot it says kernel panel not LABEL=/ not found. > > How do I redo the label and tell it /dev/sda1 is "/"? > > > Jerry > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > > >-- John Newbigin Computer Systems Officer Faculty of Information and Communication Technologies Swinburne University of Technology Melbourne, Australia http://www.ict.swin.edu.au/staff/jnewbigin