How to fix disk dependency problems?

AmigaOne X5000 platform specific issues related to Linux only.

How to fix disk dependency problems?

Postby Roland » Mon Mar 18, 2019 12:04 am

I noticed from the 'boot.log' file of Ubuntu that I have created disk depedency issues, probably by moving some partitions on my HD.

Code: Select all
A start job is running for dev-disk-by\x2duuid-fdb13ade\x2dcd40\x2d4d65\x2d9372\x2d962d270e86dc.device
(1min 29s / 1min 30s)
Timed out waiting for device dev-disk-by\x2duuid-fdb13ade\x2dcd40\x2d4d65\x2d9372\x2d962d270e86dc.device.
Dependency failed for /dev/disk/by-uuid/fdb13ade-cd40-4d65-9372-962d270e86dc.
Dependency failed for Swap.

These problems do not prevent booting but they slow it down.

How could I fix these? Some command to run...?
- Roland -
Roland
 
Posts: 276
Joined: Tue May 02, 2017 8:23 am

Re: How to fix disk dependency problems?

Postby xeno74 » Mon Mar 18, 2019 6:34 am

Roland wrote:I noticed from the 'boot.log' file of Ubuntu that I have created disk depedency issues, probably by moving some partitions on my HD.

Code: Select all
A start job is running for dev-disk-by\x2duuid-fdb13ade\x2dcd40\x2d4d65\x2d9372\x2d962d270e86dc.device
(1min 29s / 1min 30s)
Timed out waiting for device dev-disk-by\x2duuid-fdb13ade\x2dcd40\x2d4d65\x2d9372\x2d962d270e86dc.device.
Dependency failed for /dev/disk/by-uuid/fdb13ade-cd40-4d65-9372-962d270e86dc.
Dependency failed for Swap.

These problems do not prevent booting but they slow it down.

How could I fix these? Some command to run...?


Roland,

You have to replace the UUID 'fdb13ade-cd40-4d65-9372-962d270e86dc' with the correct one in the file /etc/fstab. You can get the correct UUID via sudo blkid.

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 4939
Joined: Fri Mar 23, 2012 8:58 am

Re: How to fix disk dependency problems?

Postby Roland » Mon Mar 18, 2019 2:55 pm

xeno74 wrote: You have to replace the UUID 'fdb13ade-cd40-4d65-9372-962d270e86dc' with the correct one in the file /etc/fstab. You can get the correct UUID via sudo blkid.


Thank you for your help, I got it fixed!-)

Is there also a way to define the SWAP more dynamically, e.g. by the partition label?
- Roland -
Roland
 
Posts: 276
Joined: Tue May 02, 2017 8:23 am

Re: How to fix disk dependency problems?

Postby xeno74 » Mon Mar 18, 2019 5:29 pm

Roland wrote:Is there also a way to define the SWAP more dynamically, e.g. by the partition label?


tune2fs -L NAME PARTITION

Code: Select all
#tune2fs -L SWAP /dev/sdb3


/etc/fstab

Code: Select all
LABEL=SWAP        none         swap          defaults         0      0
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 4939
Joined: Fri Mar 23, 2012 8:58 am


Return to Platform: AmigaOne X5000 - Linux Only

Who is online

Users browsing this forum: No registered users and 5 guests