You are not logged in.
luis@crunchbang:~$ sudo umount /dev/sda1
umount: /: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))Offline
Before you run `e2fsck -p -v` you need to reboot into recovery mode. (I think machinebacon may have accidentally left that out?)
Offline
Nah, I mentioned it should be unmounted.
e2fsck can take ages, so be prepared.
Unmount the partition/drive before testing. Use the -p and -v parameters (preen = "repair", verbose).
Last edited by machinebacon (2011-08-28 14:52:27)
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
^ Yes, but kinda difficult to unmount it when logged in. 
Offline
Boot from a livecd to run e2fsck /dev/sda
bootinfoscript - emacs primer - wireless problems- I ♥ #!
Offline
Hi friends, I was doing the mentest again and was correct.
Them booted from the CB livecd and did e2fsck /dev/sda but I get "No such file or directory".
For boot on safe mode the Grub doesn't stop and I don't know how stop the Grub...
Sorry 
Offline
you have to run the command as root. sudo e2fsck -p -v /dev/sda1
To stop the GRUB menu just press an arrow key. If you haven't modified the GRUB file, the timeout is 5 seconds.
Last edited by machinebacon (2011-08-28 17:37:35)
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
Thanks machinebacon.
I'll try now.
Offline
On CB livecd, after run sudo e2fsck -p -v
crunchbang@crunchbang:~$ sudo e2fsck -p -v
Usage: e2fsck [-panyrcdfvtDFV] [-b superblock] [-B blocksize]
[-I inode_buffer_blocks] [-P process_inode_size]
[-l|-L bad_blocks_file] [-C fd] [-j external_journal]
[-E extended-options] device
Emergency help:
-p Automatic repair (no questions)
-n Make no changes to the filesystem
-y Assume "yes" to all questions
-c Check for bad blocks and add them to the badblock list
-f Force checking even if filesystem is marked clean
-v Be verbose
-b superblock Use alternative superblock
-B blocksize Force blocksize when looking for superblock
-j external_journal Set location of the external journal
-l bad_blocks_file Add to badblocks list
-L bad_blocks_file Set badblocks list
crunchbang@crunchbang:~$
crunchbang@crunchbang:~$ sudo e2fsck -p -v
Usage: e2fsck [-panyrcdfvtDFV] [-b superblock] [-B blocksize]
[-I inode_buffer_blocks] [-P process_inode_size]
[-l|-L bad_blocks_file] [-C fd] [-j external_journal]
[-E extended-options] device
Emergency help:
-p Automatic repair (no questions)
-n Make no changes to the filesystem
-y Assume "yes" to all questions
-c Check for bad blocks and add them to the badblock list
-f Force checking even if filesystem is marked clean
-v Be verbose
-b superblock Use alternative superblock
-B blocksize Force blocksize when looking for superblock
-j external_journal Set location of the external journal
-l bad_blocks_file Add to badblocks list
-L bad_blocks_file Set badblocks list
crunchbang@crunchbang:~$ And udo e2fsck -p -v /dev/sda1
crunchbang@crunchbang:~$ sudo e2fsck -p -v /dev/sda1
/dev/sda1: clean, 119871/3604480 files, 899048/14403328 blocks
crunchbang@crunchbang:~$Last edited by Aleph (2011-08-28 18:12:59)
Offline
sudo e2fsck -p -v /dev/sda1You can do this with
sudo e2fsck -p -v /dev/sda2later, too. That's the extended partition.
Last edited by machinebacon (2011-08-28 18:13:47)
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
crunchbang@crunchbang:~$ sudo e2fsck -p -v /dev/sda1
/dev/sda1: clean, 119871/3604480 files, 899048/14403328 blocks
crunchbang@crunchbang:~$ Offline
crunchbang@crunchbang:~$ sudo e2fsck -p -v /dev/sda2
e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda2
Could this be a zero-length partition?
crunchbang@crunchbang:~$Offline
Ok, this is because sda2 is not ext2/3/4
Well, we haven't forced the filesystem check (even when 'clean'), but I think this is not necessary. Has your computer booted up so slow with other Operating Systems, too (slow = longer than 1:30 minutes)
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
Yes always was very slow...
Offline
Can you please post the output of lspci and lsusb and tell us the exact brand of your laptop?
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
My laptod is "INVES", a spanish brand
http://www.ciao.es/Inves_DUNA_3802_PM_C … 5__1142354
crunchbang@crunchbang:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 04)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
01:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev 80)
01:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
01:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
01:04.0 CardBus bridge: ENE Technology Inc CB-710/2/4 Cardbus Controller
01:04.1 FLASH memory: ENE Technology Inc ENE PCI Memory Stick Card Reader Controller
01:04.2 SD Host controller: ENE Technology Inc ENE PCI Secure Digital Card Reader Controller
crunchbang@crunchbang:~$ crunchbang@crunchbang:~$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
crunchbang@crunchbang:~$ Offline
Okay, this will take some time to examine
You can meanwhile reboot into your standard #!
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
Ok, thanks machinebacon.
Offline
If there would be a way to disable the card readers in BIOS,...
Well anyway, one thing we haven't check yet is the output (as root) of blkid - copy its output here please!
I want to see if the UUID's are the same like those in /etc/fstab. Thanks.
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
I was looking at the Bios and I think it is not possible, but I'll try now.
luis@crunchbang:~$ sudo blkid
[sudo] password for luis:
/dev/sda1: UUID="8e3e9fda-c392-4afb-a142-e3cfc25f36e9" TYPE="ext4"
/dev/sda5: UUID="068481cf-e8d7-44e2-8ca3-f761e933f50f" TYPE="swap"
luis@crunchbang:~$fstab:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=8e3e9fda-c392-4afb-a142-e3cfc25f36e9 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=068481cf-e8d7-44e2-8ca3-f761e933f50f none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0Offline
"Unfortunately" the UUID is also not the problem. But we don't give it up. It feels like a hardware issue, though I have to examine both the kernel log as well as the PCI list first...
Does the system itself works normally (after booting into the Desktop) or is it slow, unresponsive?
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
The system, sometimes, did slow response, but normally works fine. Is possible that the hardware is bad.
Maybe I should buy an new laptod...
Thanks for your help machinebacon.
Offline
If you decide to examine hardware more, Ultimate Boot CD is quite a useful tool. You have lots of hard disk diagnostic tools and stuff like memtest. You'll find it at http://www.ultimatebootcd.com/
But I think that it's best if machinebacon continues to support you.
Offline
Thanks Gurux,
interesting! there are lots of software, maybe too much... But wich one should use? I'm lost...
Machinebacon, I forget! sometime the battery stop charging, when I disconnect and reconnect start charging again... strange too.
Offline
Maybe I should buy an new laptod...
how old is your laptop, and what brand? in my experience, stuff like Acer just breaks down after a while because the reason they can give you a cheap laptop is because they build it with cheap components that just don't last that long. so that may just be your issue here..?
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.