Ubuntu 16.04 disks cannot be displayed

Source: Internet
Author: User
Tags uuid

The server will not be able to display the disk after the shutdown is restarted (one can and one cannot be identified)

after confirming that the disk is not damaged (hardware is not damaged)

considered a server kernel upgrade, resulting in incompatible kernel and hardware (this disk)

Workaround: demote the server kernel.

0 View existing kernel versions

sudo dpkg--get-selections |grep linux-image

1 Install the kernel version you need

sudo apt-get install Linux-image-4.4.0-75-generic

2 Uninstall the No kernel version

sudo apt-get purge linux-image-4.8.0-26-generic

3 Modification/etc/defalt/grub

change the grub_default=0 to

4 Update Startup Items

sudo update-grub

5 View/boot/grub/grub.cfg

If the 4 execution succeeds, then step 5th should not see a similar

    Menuentry ' Ubuntu, with Linux 4.8.0-26-generic (upstart) '--class Ubuntu--class gnu-linux--class GNU--class os $men
        Uentry_id_option ' gnulinux-4.8.0-26-generic-init-upstart-5bce3795-da96-4c6f-bed2-67d37185a77d ' {recordfail Load_video gfxmode $linux _gfx_mode insmod Gzio if [x$grub_platform = Xxen]; Then Insmod Xzio; Insmod Lzopio;  Fi insmod part_msdos insmod ext2 set root= ' hd0,msdos1 ' if [x$feature_platform_search_hint = XY]; Then search--no-floppy--fs-uuid--set=root--hint-bios=hd0,msdos1--hint-efi=hd0,msdos1 , msdos1 88421677-a988-4ff9-bf29-6c56aa4a9027 Else search--no-floppy--fs-uuid--set=root 88421677-a988 -4ff9-bf29-6c56aa4a9027 fi echo ' Load Linux 4.8.0-26-generic ... ' linux/vmlinuz-4.8.0-26-gene Ric root=uuid=5bce3795-da96-4c6f-bed2-67d37185a77d ro quiet splash $vt _handoff init=/sbin/upstart echo ' Load initializationSave ... ' initrd/initrd.img-4.8.0-26-generic} 

function that only retains our linux-image-4.4.0-75-generic function. If you see it, remove all of the functions that the Linux 4.8.0-26-generic belong to.

6 reboot

 

sudo reboot

7 View kernel version

Uname-r  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.