Problem with old uuuid

Hello

when system booting I must wait 1:30 because:
a start job is runnig for dev-disk…fb3bc5f6.device (x s / 1min : 30 s)
after this time, system start normally.

On 99% I had swap with uuid=…fb3bc5f6, but uuid has changed when I installed Jessie.

I tried remove row with swap from fstab and remove swap and create new i opensuse partitioner but still the same.

What can I do with it?


#uname -a
Linux linux-abjn 4.1.3-2-desktop #1 SMP PREEMPT Wed Jul 29 09:47:55 UTC 2015 (41613e2) x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/fstab
UUID=0a009383-a4c9-4c97-b672-4ed9a5f25f16 /                    ext4       acl,user_xattr        1 1
UUID=822641a3-9e20-4e69-9184-8b737d8b31d3 /media/data1         ext4       defaults              1 2
UUID=76626d25-df8a-4d97-8383-ec8110f301be /media/data2         ext4       defaults              1 2
UUID=3E1C15F136B97B87 /media/data3       ntfs-3g    users,gid=users,umask=0,locale=pl_PL.UTF-8 0 0
UUID=ebae7ed6-d4dc-449f-a8a9-4fe0e2b937eb swap                 swap       defaults              0 0


# blkid
/dev/sda1: UUID="0a009383-a4c9-4c97-b672-4ed9a5f25f16" TYPE="ext4" PARTUUID="6ead6ae8-01"
/dev/sda2: UUID="332c0919-d691-4ad6-8ffa-54c0aec2f00c" TYPE="ext4" PARTUUID="6ead6ae8-02"
/dev/sda3: UUID="5f29b127-5ba6-4bab-8954-35aa7eee1977" TYPE="ext4" PTTYPE="dos" PARTUUID="6ead6ae8-03"
/dev/sda5: LABEL="data1" UUID="822641a3-9e20-4e69-9184-8b737d8b31d3" TYPE="ext4" PARTUUID="6ead6ae8-05"
/dev/sda6: LABEL="data2" UUID="76626d25-df8a-4d97-8383-ec8110f301be" TYPE="ext4" PARTUUID="6ead6ae8-06"
/dev/sda7: LABEL="data3" UUID="3E1C15F136B97B87" TYPE="ntfs" PARTUUID="6ead6ae8-07"
/dev/sda8: UUID="ebae7ed6-d4dc-449f-a8a9-4fe0e2b937eb" TYPE="swap" PARTUUID="6ead6ae8-08"

PS. I can’t change title

On 2015-08-08 13:46, userez wrote:

> What can I do with it?

Try running mkinitrd, then reboot.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

On 2015-08-08 13:28, robin_listas wrote:

>Try running mkinitrd, then reboot.

Thanks for your reply.

mkinitrd finished without error, but after reboot is still the same.

That is a very odd partitioning. Are all on the same drive?

Why odd?
I think that is normal.

One disk dev/sda
/dev/sda1 - primary
/dev/sda2 - primary
/dev/sda3 - primary
/dev/sda4 - extend
/dev/sda5 - logical
/dev/sda6 - logical
/dev/sda7 - logical
/dev/sda8 - logical

I have this partitioning more than a year and there was no problem.

Debian and Fedora (sda2 and sda3) don’t report problems with it, but Tumbleweed is my main system.

Posting

fdisk -l

would have made this clear. You can still do this to provide more information

# fdisk -l
Disk /dev/sda: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x6ead6ae8

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sda1  *          2048  121120767  121118720  57,8G 83 Linux
/dev/sda2        121120768  242059263  120938496  57,7G 83 Linux
/dev/sda3        242059264  361861119  119801856  57,1G 83 Linux
/dev/sda4        361863166 1953503231 1591640066   759G  5 Extended
/dev/sda5        361863168 1186344959  824481792 393,1G 83 Linux
/dev/sda6       1186347008 1596020735  409673728 195,4G 83 Linux
/dev/sda7       1596022784 1915629567  319606784 152,4G  7 HPFS/NTFS/exFAT
/dev/sda8       1915631616 1932523519   16891904   8,1G 82 Linux swap / Solaris

Partition 4 does not start on physical sector boundary.


If it matters i can remove swap, I have 8 GB Ram, I did it earlier but it did not help.

It waits for resume from disk device. It has nothing to do with swap. Please show kernel command line (cat /proc/cmdline). Also do you have /etc/suspend.conf? Check whether it contains “missing” device.

 **#** cat /proc/cmdline 
BOOT_IMAGE=/boot/vmlinuz-4.1.3-2-desktop root=UUID=0a009383-a4c9-4c97-b672-4ed9a5f25f16 resume=/dev/disk/by-uuid/fef
4a2f4-4076-43cb-8f71-4d0cfb3bc5f6 splash=silent quiet showopts


 **#** cat /etc/suspend.conf 
cat: /etc/suspend.conf: No such file or directory


On 2015-08-08 20:06, userez wrote:
>
> Code:
> --------------------
> # cat /proc/cmdline
> BOOT_IMAGE=/boot/vmlinuz-4.1.3-2-desktop root=UUID=0a009383-a4c9-4c97-b672-4ed9a5f25f16 resume=/dev/disk/by-uuid/fef
> 4a2f4-4076-43cb-8f71-4d0cfb3bc5f6 splash=silent quiet showopts
>
>
> --------------------

Notice that the uuid of the resume device is not the same one as it is
on the fstab you posted initially.

You can try this command:


lsblk --output
NAME,KNAME,RA,RM,RO,SIZE,TYPE,FSTYPE,LABEL,PARTLABEL,MOUNTPOINT,UUID,PARTUUID,WWN,MODEL,ALIGNMENT


(one line)

because it lists all entries and their uuids.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

I meant that you have no home mounted just swap, root and some data partitions. That is odd and I wanted to be sure that is really what you wanted.Technically nothing wrong and I needed to see if that MS format partition was maybe on a removable drive or something that could be slow to mount.

Yes, it is certainly not a default openSUSE set-up. openSUSE uses the /dev/disk/by-id symlinks and not the UUID= feature.

Hi
Tumbleweed uses UUID, plus I have no /home it’s all part of / :wink:

I modified my install of tumbleweed swap and data partitions the other day. All I had to do was boot from a rescue USB, run blkid, mount / and modify swap and my /data partition’s with the updated UUID’s and reboot… no issues at all, system came up fine.

 lsblk --output NAME,KNAME,RA,RM,RO,SIZE,TYPE,FSTYPE,LABEL,PARTLABEL,MOUNTPOINT,UUID,PARTUUID,WWN,MODEL,ALIGNMENT 
NAME   KNAME  RA RM RO   SIZE TYPE FSTYPE LABEL   PARTLABEL MOUNTPOINT     UUID                                 PARTUUID                             WWN MODEL            ALIGNMENT                                                                                             
sda    sda   128  0  0 931,5G disk                                                                                                                       WDC WD10EZEX-00B         0                                                                                             
├─sda1 sda1  128  0  0  57,8G part ext4                     /              0a009383-a4c9-4c97-b672-4ed9a5f25f16 6ead6ae8-01                                                       0                                                                                             
├─sda2 sda2  128  0  0  57,7G part ext4                                    332c0919-d691-4ad6-8ffa-54c0aec2f00c 6ead6ae8-02                                                       0                                                                                             
├─sda3 sda3  128  0  0  57,1G part ext4                                    5f29b127-5ba6-4bab-8954-35aa7eee1977 6ead6ae8-03                                                       0                                                                                             
├─sda5 sda5  128  0  0 393,1G part ext4   data1             /media/data1   822641a3-9e20-4e69-9184-8b737d8b31d3 6ead6ae8-05                                                       0                                                                                             
├─sda6 sda6  128  0  0 195,4G part ext4   data2             /media/data2   76626d25-df8a-4d97-8383-ec8110f301be 6ead6ae8-06                                                       0                                                                                             
├─sda7 sda7  128  0  0 152,4G part ntfs   data3             /media/data3   3E1C15F136B97B87                     6ead6ae8-07                                                       0                                                                                             
└─sda8 sda8  128  0  0   8,1G part swap                     [SWAP]         ebae7ed6-d4dc-449f-a8a9-4fe0e2b937eb 6ead6ae8-08                                                       0                                                                                             
sr0    sr0   128  1  0  1024M rom                                                                                                                        DRW-24F1ST   a           0     


One of the three systems had to be windows, but I changed my mind. Partition ntfs was supposed to be disk data for windows.
I haven’t separate partition for /home, one system - one partition.

I do nothing with it. I installed stable OpenSuse from DVD (I don’t remember which) and only upgrade.
When I do updates to the new version OpenSuse I change my repository, zypper ref and zypper dup.

hmm, now I’m not sure, maybe someday I manually changed fstab from top to bottom (max 5%) . But this may be problem?

For sure: this is problematic uuid:

cat /proc/cmdline 
BOOT_IMAGE=/boot/vmlinuz-4.1.3-2-desktop root=UUID=0a009383-a4c9-4c97-b672-4ed9a5f25f16 resume=/dev/disk/by-uuid/fef
4a2f4-4076-43cb-8f71-4d0cfb3bc5f6 splash=silent quiet showopts

Problem started after installation Debian. I’m almost sure that is old swap uuid because I had manually change this uuid in fstab. Sorry if I press it unnecessarily.

It is more that we try to find “strange things”. Of course not having a /home or using LABEL= all works, but finding things that deviate might help in understanding the OP’s situation and even, now and then, lead to an Eureka.

So you need to either remove resume= parameter if you do not plan to use suspend-to-disk or change it to match actual swap partition. Apparently installation of another system formatted swap partition which changed UUID. To fix go into YaST bootloader settings and edit kernel parameters.

try reformatting the swap partition(s) , mkswap /dev/sdxx

And how exactly is it going to help?

OK I changed uuid in kernel parameters and problem fixed.
Thanks all for help.

But why uuid has not changed automaticly?
I run:
grub2-mkconfig -o /boot/grub2/grub.cfg - two times
grub2-install /dev/sda - two times
mkinitrd - your suggestion

This can’t be normal.