Re: Upgrade Wheezy to Jessie - gave up waiting for root device
On 01/06/2017 08:38 AM, Steven Kauffmann wrote:
> Hi all,
>
> I'm busy with an upgrade from Wheezy to Jessie. I didn't had any issue during
> the upgrade so far, but I cannot boot into the new kernel (3.16.0-4-amd64).
>
> When booting I get the following output: give up waiting for root device ...
> I can still boot into the old kernel (3.2.0-4-amd64).
>
> What I did so far:
> * Reinstalled kernel image 3.16.0-4
> * Reinstalled grub in MBR
> * checked UUID of boot partition in grub
> * in the command line of grub I can access the boot partition (using ls
> hd(0,1) ). Vmlinux and initrd.img are available.
> * Added delay in grub settings
>
Have you tried "rootdelay=5"? That has helped me in the past. That option
makes the kernel wait 5 seconds for the root device. If that helps then try a
smaller number so your boot time won't be overly long. Also add "noquiet" so
you will see all the kernel messages as it boots.
Just add those 2 kernel options to whatever is already in GRUB_CMDLINE_LINUX= in
/etc/default/grub. Quiet may already be there so just add the no in front.
Then run update-grub so grub can update /boot/grub/grub.cfg file.
> So far no result, all things I'v been trying end up in the "give up waiting
> for root device" error.
>
> This is how the partition table is looking like:
> Device Boot Start End Sectors Size Id Type
> /dev/sda1 2048 121636863 121634816 58G 83 Linux
> /dev/sda2 164270080 167772159 3502080 1.7G 5 Extended
> /dev/sda3 121636864 164270079 42633216 20.3G 83 Linux
> /dev/sda5 164274176 167772159 3497984 1.7G 82 Linux swap / Solaris
>
> output blkid:
> blkid
> /dev/sr0: UUID="2016-10-20-09-23-51-00" LABEL="GParted-live" TYPE="udf"
> PTUUID="647d59b6" PTTYPE="dos"
> /dev/sda1: UUID="e42240d0-f587-440e-a10d-8c568938fb84" TYPE="ext4"
> PARTUUID="000120c8-01"
> /dev/sda3: LABEL="users" UUID="0554d637-49cf-4981-8630-046385eb8b6c"
> TYPE="ext4" PARTUUID="000120c8-03"
> /dev/sda5: UUID="f9795e42-60d7-48eb-a762-026be37e8e8f" TYPE="swap"
> PARTUUID="000120c8-05"
>
>
> Any idea how to solve this?
>
...Bob
Reply to: