Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #176363 > unrolled thread

Upgrade Wheezy to Jessie - gave up waiting for root device

Started bySteven Kauffmann <steven.kauffmann@gmail.com>
First post2017-01-06 14:40 +0100
Last post2017-01-10 09:20 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Upgrade Wheezy to Jessie - gave up waiting for root device Steven Kauffmann <steven.kauffmann@gmail.com> - 2017-01-06 14:40 +0100
    Re: Upgrade Wheezy to Jessie - gave up waiting for root device Bob Weber <bobrweber@gmail.com> - 2017-01-06 16:20 +0100
    Re: Upgrade Wheezy to Jessie - gave up waiting for root device Dominique Dumont <dod@debian.org> - 2017-01-10 09:20 +0100

#176363 — Upgrade Wheezy to Jessie - gave up waiting for root device

FromSteven Kauffmann <steven.kauffmann@gmail.com>
Date2017-01-06 14:40 +0100
SubjectUpgrade Wheezy to Jessie - gave up waiting for root device
Message-ID<sWCUp-2A2-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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

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?

[toc] | [next] | [standalone]


#176370

FromBob Weber <bobrweber@gmail.com>
Date2017-01-06 16:20 +0100
Message-ID<sWEtb-3Kl-1@gated-at.bofh.it>
In reply to#176363
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

[toc] | [prev] | [next] | [standalone]


#176537

FromDominique Dumont <dod@debian.org>
Date2017-01-10 09:20 +0100
Message-ID<sXZOW-7lr-7@gated-at.bofh.it>
In reply to#176363
On Friday, 6 January 2017 14:38:01 CET Steven Kauffmann wrote:
> When booting I get the following output: give up waiting for root device ...

Looks like the kernel boots but cannot find the disk that contains '/'

> I can still boot into the old kernel (3.2.0-4-amd64).

While in grub menu, check the root parameter that is given to the kernel. On 
my system (that uses encryption and lvm, hence the mapper value), I have:

$ cat /proc/cmdline                                                                           
BOOT_IMAGE=/vmlinuz-4.8.0-2-amd64 root=/dev/mapper/ylum--vg-root ro acpi_osi=! 
"acpi_osi=Windows 2009" acpi_osi=! "acpi_osi=Windows 2009" quiet

You should be able to boot by tweaking root parameter value in the grub menu, 
may be use something similar to what is used by kernel 3.2.0

If this works, looks for dubious setting in /etc/default/grub or dubious files 
in /etc/grub.d

HTH


-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web