8.04 LTS used to be quiet splash but now not completely so

Asked by Wladicus

I have been running Kubuntu 8.04 LTS (now updated as 8.04.4 LTS) for 3 years and I have always had a grub splash screen with quiet boot and a usplash boot screen (with thrasher), also with completely quiet boot.
I have reviewed the backed up menu.lst file to the current menu.lst file and all the code for quiet boot is still in place.
Recently my quiet boot has changed to "not so quiet". By that I mean that I still get a grub splash screen/menu with quiet boot and then the boot usplash screen appears, but it does not last for the entire boot process. Before, the boot usplash screen stayed up with the thrasher slowly moving to the right until it reached the end and then the login screen came up.
Now, the usplash screen appears - the thrasher travels back and forth about 3 times and the usplash boot screen disappears and the quiet mode ends. Next a black screen appears and at the top "Loading files necessary for boot" - or something like that, and then all the boot messages start to be listed. After that is done, the usual login screen appears.
Does anyone have an idea of what has happened. There was an update that went through a couple of days ago, maybe that changed something.
If you have any idea about how to get my quiet boot back I will be most interested in receiving your input.
Thank you in advance for your time.
walt

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Sam_
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1
Revision history for this message
Wladicus (walt-dutchak) said :
#2

I am not using plymouth splash screen in this case - it is a .so file installed via Start Up Manager. Also, I have an Old COMPAQ Deskpro EN computer with a 15" Samsung LCD monitor. I do not see how the link you indicated will help me and I am not so savvy about some of these more intricate aspects described in this link. Is there a simpler approach - like an apt-get install xxxx that solves the whole problem? I know I'm probably dreaming, but I am just a simple user looking for quick handy solutions.
Thank you for your input Andrew.
walt

Revision history for this message
Best Sam_ (and-sam) said :
#3

Usually usplash is incomplete and shows text when something was changed regarding partitioning, e.g. swap size, hd was changed, cloned or other.
During boot it checks if a suspend image exists, which usually lays on swap partition.
If the script
/usr/share/initramfs-tools/scripts/local-premount/resume
doesn't recognize swap it continues booting in textmode.

This shows where swap is:
swapon -s

This outputs the UUID:
ls -al /dev/disk/by-uuid/

which in case needs to be corrected (or added) with a text editor in:
/etc/initramfs-tools/conf.d/resume

When finished initramfs needs to be updated:
sudo update-initramfs -u

Revision history for this message
Wladicus (walt-dutchak) said :
#4

Greetings Sam,
Thank you for your reply. It looked promising, but I am really lost as to what
I should be

doing. I looked at the script ->
/usr/share/initramfs-tools/scripts/local-premount/resume
and have no idea what I am supposed to find and/or correct in it.

Here is what I get after entering the suggested commands:
--------------
root@Compaq:~# swapon -s
Filename Type Size Used Priority

root@Compaq:~# ls -al /dev/disk/by-uuid/
total 0
drwxr-xr-x 2 root root 60 2010-09-03 17:06 .
drwxr-xr-x 5 root root 100 2010-09-03 17:06 ..
lrwxrwxrwx 1 root root 10 2010-09-03 17:06 94dfb5b8-8c67-4e26-8768-f4224f0d9f04
-> ../../sda1
--------------
What is a UUID? What does this listing tell me and what am I to do with it?
Sorry for sounding so vague, but I really have no idea whatsoever.
I am just looking for a simply explained way of solving this minor shortcoming
of Ubuntu/Kubuntu.

 joy,
________________________________
Walt
St. Thomas, Ontario = 42.77° N, 81.11° W =
Royal Astronomical Society of Canada (RASC)

________________________________

Revision history for this message
Sam_ (and-sam) said :
#5

There seems to be no swap. (and btw. no separate /home)
The question is, did you ever make one during installation of Hardy?
Did you change anything at all regarding partitions?

Refer to section: Is there a swap partition at all?
~# fdisk -l
https://help.ubuntu.com/community/SwapFaq#Why%20is%20my%20swap%20not%20being%20used?

> but I really have no idea whatsoever

Just wondering why you're logged in as 'root' then.
Refer to remark in red.
http://linuxcommand.org/lts0010.php

> What is a UUID?
https://secure.wikimedia.org/wikipedia/en/wiki/Uuid

e.g. the UUID of your
-> ../../sda1
is
94dfb5b8-8c67-4e26-8768-f4224f0d9f04

So, if there would be a swap partition
e.g. on /dev/sda7 with UUID 1234a5b8-8c67-4e26-1234-f4224f0d9f04
an entry in
/etc/initramfs-tools/conf.d/resume
would look like this:
RESUME=UUID=1234a5b8-8c67-4e26-1234-f4224f0d9f04

Reference.
https://help.ubuntu.com/community/DrivesAndPartitions
https://help.ubuntu.com/community/Fstab

What do defoptions say in your menu.lst?
http://members.iinet.net.au/~herman546/p15.html#menu.lst
https://help.ubuntu.com/community/GrubHowto

What is initramfs.
https://wiki.ubuntu.com/Initramfs

> There was an update that went through a couple of days ago

Synaptic has an option to view the history of downloaded packages.
https://help.ubuntu.com/community/SynapticHowto#View%20History

Revision history for this message
Wladicus (walt-dutchak) said :
#6

Hi Sam,
Thank you for your very informative discussion. I really learned some new things.
Possibly I lost the swap section when I installed Ubuntu 10.04.1 LTS and then replaced it with a previously saved PING image of my Kubuntu 8.04.4 LTS. The PING image had only sda1 on it and not sda2 (extension), nor sda5 (swap partition). So I followed the instructions you posted and using my old 8.04 LTS installation disk I started the install and then canceled it, so that the proper partitions were created on the hard disk. Then I restored the saved 8.04 image again. The following shows the swap partition is there:
------------------------------
=> sudo fdisk -l
Disk /dev/sda: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xad8848f3

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 2327 18691596 83 Linux
/dev/sda2 2328 2434 859477+ 5 Extended
/dev/sda5 2328 2434 859446 82 Linux swap / Solaris
=====================================
cat /etc/fstab however, shows that the swap partition UID does not mount:
# /dev/sda5
UUID=3c68440b-29dc-4849-945f-04424f6c9c27 none swap sw 0 0
=====================================
and trying to turn the swap off and rebuild it indicates that the UUID is not recognized.
=>sudo swapoff -a
swapoff: cannot canonicalize /dev/disk/by-uuid/3c68440b-29dc-4849-945f-04424f6c9c27: No such file or directory
=====================================
So, I continued with the code to make the swap sectiion:
=> sudo /sbin/mkswap /dev/sda5
Setting up swapspace version 1, size = 880066 kB
=====================================
So, I edited the resume file to change UUID=d2d0fbb7-0098-4449-8101-d28af794ef36
=> sudo nano /etc/initramfs-tools/conf.d/resume
=====================================
Then I rebooted my system hoping to see a quiet boot but it is still the same as before.
Did I miss something? Is there something else that must be done?
------------------------------------
Thank you again for your time.
walt

Revision history for this message
Sam_ (and-sam) said :
#7

> installed Ubuntu 10.04.1 LTS and then replaced it with a previously saved PING image of my Kubuntu 8.04.4
> LTS. The PING image had only sda1 on it and not sda2 (extension), nor sda5 (swap partition)

Thanks for this essential information too, (better late than never).

Afterwards making swap, did you re-enable it?
sudo swapon -a

The entry in resume file looks like this?
RESUME=UUID=d2d0fbb7-0098-4449-8101-d28af794ef36

After editing resume file did you:
sudo update-initramfs -u

Verify that UUID for swap is the same in
fstab
fdisk -l
ls -al /dev/disk/by-uuid/
swapon -s

> size = 880066 kB
Is that enough?
https://help.ubuntu.com/community/SwapFaq#How%20much%20swap%20do%20I%20need?

Revision history for this message
Wladicus (walt-dutchak) said :
#8

Thank you Sam!
I missed the update part. Will look at it tomorrow and tell you what happened.
Thanks again.
walt

Revision history for this message
Wladicus (walt-dutchak) said :
#9

Status Report - Hi Sam
I followed up on what you suggested and now everything is back to normal. My grub splash and usplash screens are working perfectly and all in 'quiet' boot-up mode. The update-initrramfs -u seemed to be all that I missed.
However, there are still some unexplained results. In particular, swapon -s continues to suggest that there is no swap partition, but the other listings do show a swap partition and fstab gives an ID different from that in the resume file and what is shown in the ls...uuid listing. Why is that? Any probable reasons?
Here is a listing of the results for fdisk-l, ls ... by-uuid, fstab, and swapon -s :
-------------------------------------------------------
fdisk -l

Disk /dev/sda: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xad8848f3

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 2327 18691596 83 Linux
/dev/sda2 2328 2434 859477+ 5 Extended
/dev/sda5 2328 2434 859446 82 Linux swap / Solaris

Disk /dev/sdb: 2021 MB, 2021654528 bytes
255 heads, 63 sectors/track, 245 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x017c33e3

   Device Boot Start End Blocks Id System
/dev/sdb1 * 1 246 1974240+ b W95 FAT32
Partition 1 has different physical/logical endings:
     phys=(244, 254, 63) logical=(245, 200, 19)
-----------------------------------------------
ls -al /dev/disk/by-uuid
total 0
drwxr-xr-x 2 root root 100 2010-09-08 20:22 .
drwxr-xr-x 6 root root 120 2010-09-08 20:22 ..
lrwxrwxrwx 1 root root 10 2010-09-08 20:22 0C4B-20FE -> ../../sdb1
lrwxrwxrwx 1 root root 10 2010-09-08 20:20 5a1712d3-d879-4019-a454-aa88b5461027 -> ../../sda5
lrwxrwxrwx 1 root root 10 2010-09-08 20:20 94dfb5b8-8c67-4e26-8768-f4224f0d9f04 -> ../../sda1
-----------------------------------------------
cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=94dfb5b8-8c67-4e26-8768-f4224f0d9f04 / ext3 relatime,errors=remount-ro 0 1
# /dev/sda5
UUID=3c68440b-29dc-4849-945f-04424f6c9c27 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
------------------------------------------------
swapon -s
Filename Type Size Used Priority
==============================================

Revision history for this message
Wladicus (walt-dutchak) said :
#10

Thanks Sam, that solved my question.

Revision history for this message
Sam_ (and-sam) said :
#11

Current UUID of sda5 is:
5a1712d3-d879-4019-a454-aa88b5461027

You still have the old UUID in fstab which you've posted on 2010-09-05.
According to the same post you entry in resume file is also different from current UUID.
> So, I edited the resume file to change UUID=d2d0fbb7-0098-4449-8101-d28af794ef36

Every time you change something on partitions UUID may change.

Revision history for this message
Wladicus (walt-dutchak) said :
#12

Hi Sam,
> Current UUID of sda5 is: 5a1712d3-d879-4019-a454-aa88b5461027
That is the old UUID when I first made changes.
I did all those steps over again
and this time concluded with update-initramfs -u.
Everything works fine but the ls -al /dev/disk/by-uuid
and cat /etc/fstab both disagree with that which is
listed by swapon -s. Do you have any idea why?
Thank you,
walt

Revision history for this message
Wladicus (walt-dutchak) said :
#13

Mis-qouted myself in the above post. Sorry Sam.

The > Current UUID of sda5 is: 5a1712d3-d879-4019-a454-aa88b5461027
is the LATEST UUID since last time. I redid all the steps again but as I said
above -
                  "Everything works fine but the ls -al /dev/disk/by-uuid
                   and cat /etc/fstab both disagree with that which is
                   listed by swapon -s."
> Every time you change something on partitions UUID may change.
I realized that quite quickly during my adventures, but why aren't the old UUIDs
removed/erased as the new ones are created?

Thanks,
walt

Revision history for this message
Wladicus (walt-dutchak) said :
#14

Mis-quoted myself again. fstab still shows the old UUID.
 " why aren't the old UUIDs removed/erased as the new ones are created? "
----------------------
cat /etc/fstab
...
# /dev/sda5
UUID=3c68440b-29dc-4849-945f-04424f6c9c27 none swap sw 0 0
----------------------
ls -al /dev/disk/by-uuid
...
lrwxrwxrwx 1 root root 10 2010-09-08 20:20 5a1712d3-d879-4019-a454-aa88b5461027 -> ../../sda5
lrwxrwxrwx 1 root root 10 2010-09-08 20:20 94dfb5b8-8c67-4e26-8768-f4224f0d9f04 -> ../../sda1
----------------------
swapon -s
Filename Type Size Used Priority
----------------------
But, as I said before, everything seems to be working well.
Thank you,
walt

Revision history for this message
Sam_ (and-sam) said :
#15

You need to edit fstab manually, new UUIDs aren't automatically generated by the file.
After editing fstab you need to either reboot or
sudo mount -a

Try:
sudo blkid
to write data into cache.
Afterwards you should be able to run 'blkid' without 'sudo' and get the same output.

In case verify UUID
ls /dev/disk/by-uuid -al

Write it in resume file, then
sudo update-initramfs -u

Edit and update fstab.

If swapon -s still doesn't give an output.
After
sudo mkswap /dev/sda5
you could try this to make swapon recognize UUID (please see manpage: man swapon).
Take the UUID from generated output.
sudo swapon -U <UUID>

Revision history for this message
Wladicus (walt-dutchak) said :
#16

Hi Sam,
I just found out about updating the /etc/fstab file.
Now all outputs show identical UUID info and
everything still works correctly.
Thank you again for all your help.
I sure did learn quite a bit from your support.
Thank you,
walt