[ubuntu-za] Slow boot hard drive issue [SOLVED]
charl.wentzel at vodamail.co.za
Fri Jan 20 22:20:44 UTC 2012
> Oh yes,
> I'm also using LVM for my /home partition, but not for root.
Gotha! After writing this I realised that this was the point at which
I starting having slow boot problems. So some research here lead to a
bug with lvm during bootup...
The fix was simple:
Add --noudevsync parameter to the vgchange command in
/lib/udev/rules.d/85-lvm2.rules. Then regenerating the initramfs with
Wow! Look at this difference:
[ 1.784979] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 1.785090] sd 2:0:0:0: [sda] 1465149168 512-byte logical blocks: (750 GB/698 GiB)
[ 1.785095] sd 2:0:0:0: [sda] 4096-byte physical blocks
[ 1.785210] sd 2:0:0:0: [sda] Write Protect is off
[ 1.785215] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.785283] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.831553] sda: sda1 sda2 sda3
[ 1.832170] sd 2:0:0:0: [sda] Attached SCSI disk
[ 2.088551] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
--> 10 seconds! I can live with that!
[ 13.114360] udevd: starting version 173
[ 13.196201] lp: driver loaded but no devices found
[ 13.221138] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[ 13.221244] [Firmware Bug]: _BCQ is used instead of _BQC
My laptop now boots in just over 30 seconds! Very impressive for an
old paraffin model like mine.
Thanks for the help guys!
More information about the ubuntu-za