1. The uname -a
2. DPKG -- -- get - selections | grep Linux
3. The sudo apt - get remove image
After the restart the ubuntu, couldn't get into the system
Only the memory test two options
But I is the kernel of the system (uninstall the old version, the new version is still in it)
But is couldn't get into the system, has been the memory test these two optional
Make a day, really collapse,,,,,,,
I hope the great god for help
CodePudding user response:
The Linux kernel boot depends on three places:1,/boot/called - 2.6.30.4/boot have this file, the actual is bzImage;
2, the/boot/initrd - 2.6.30.4 is generated through mkintramfs tools;
3, grub. Conf launch configuration with the above two files,
The/etc/grub. Conf
Mainly to mount the root value of the root directory of the user UUID:
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
The title MyTestLinux
Root (hd0, 0)
Kernel/called - 2.6.30.4 ro root=UUID=172770 ca - 43 c4-4496 - b55b - 14890 adc53a2 RHGB quietselinux=0
The initrd/initrd - 2.6.30.4
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Pay attention to the UUID value:
[root @ localhost lark] # cat/etc/fstab
UUID=172770 ca - c4-4496-43 b55b - 14890 adc53a2/corruption defaults 1 1
UUID=90 d142e7 e0d - 9468-4-902 - d - 37 f76904d672/boot corruption defaults 1 2
Seek to grub. Conf files in the corresponding relation, rename your file into a script in the specified file name, try to see if I can solve,
Hope can help to you,
CodePudding user response: