[SOLVED] Initramfs trim: "device '/dev/sda3' not fount" still boots.
SOLUTION I should have never removed UUIDs from my fstab, instead I should have ADDED them to my bootloader config. Putting UUIDs back in fstab and adding the UUID for my root partition to syslinux.cnf solved this.
I've been pruning my initramfs following falconindy's blog post which I learned about from success stories in the systemd startup times thread.
I ended up with this mkinitcpio.conf
MODULES="ahci sd_mod ext4"
BINARIES="fsck fsck.ext4"
HOOKS="base consolefont"
COMPRESSION="lzop"
I've also tried without the compression method specified. I've added in a couple modules which I admittedly don't know much about, but I found them in the lsmod list after appending the "break=postmount" to a working initramfs. These included uhci_hcd and ehci_hcd.
In every case I get the same error message on boot:
device '/dev/sda3' not found. Skipping fsck
Unable to find root device '/dev/sda3'
and I am dropped to a recovery shell. There is a message that says (paraphrasing) "type exit to attempt to continue". I type exit and hit enter and I get a message:
Trying to continue (This will likely fail)
But it does not fail - it works perfectly and the system boots successfully.
So in short - everything works, but there is some early boot test that "thinks" it won't work and leads to me having to exit from a recovery shell.
I realized my fstab still had UUIDs, so I changed those to /dev/sdaX and rebuilt the initramfs, but this had no effect.
The best I can guess (and it is a wild guess) is that the only remaining difference between the working initramfs and this problematic stripped down version is the absence of udev. I did look at a diff of the lsinitcpio of a working version and the failing trimmed down version. I've removed any items that went both ways in the diff output (eg ">some/file ... <some/file") and this is what remains:
7c6
< ./hooks/udev
16,18d14
< ./usr/bin/fsck.ext3
20,21c16,17
< ./usr/bin/udevadm
< ./usr/bin/udevd
130a127,128
> ./usr/lib/libpthread-2.16.so
> ./usr/lib/libpthread.so.0
137,151d134
< ./usr/lib/udev
< ./usr/lib/udev/scsi_id
< ./usr/lib/udev/ata_id
< ./usr/lib/udev/rules.d
< ./usr/lib/udev/rules.d/80-drivers.rules
< ./usr/lib/udev/rules.d/60-persistent-storage.rules
< ./usr/lib/udev/rules.d/50-udev-default.rules
< ./usr/lib/libpthread-2.16.so
< ./usr/lib/libpthread.so.0
< ./usr/lib/libattr.so.1.1.0
< ./usr/lib/libattr.so.1
< ./usr/lib/librt-2.16.so
< ./usr/lib/librt.so.1
< ./usr/lib/libacl.so.1.1.0
< ./usr/lib/libacl.so.1
254a238,246
> ./usr/lib/modules/3.5.3-2-ck/kernel/hwa-hc.ko
> ./usr/lib/modules/3.5.3-2-ck/kernel/isp116x-hcd.ko
> ./usr/lib/modules/3.5.3-2-ck/kernel/isp1362-hcd.ko
> ./usr/lib/modules/3.5.3-2-ck/kernel/isp1760.ko
> ./usr/lib/modules/3.5.3-2-ck/kernel/ohci-hcd.ko
> ./usr/lib/modules/3.5.3-2-ck/kernel/oxu210hp-hcd.ko
> ./usr/lib/modules/3.5.3-2-ck/kernel/r8a66597-hcd.ko
> ./usr/lib/modules/3.5.3-2-ck/kernel/sl811-hcd.ko
> ./usr/lib/modules/3.5.3-2-ck/kernel/u132-hcd.ko
255a248,250
> ./usr/lib/modules/3.5.3-2-ck/kernel/whci-hcd.ko
> ./usr/lib/modules/3.5.3-2-ck/kernel/xhci-hcd.ko
> ./usr/lib/modules/3.5.3-2-ck/kernel/ftdi-elan.ko
256a252,256
> ./usr/lib/modules/3.5.3-2-ck/kernel/wusb-wa.ko
> ./usr/lib/modules/3.5.3-2-ck/kernel/wusbcore.ko
> ./usr/lib/modules/3.5.3-2-ck/kernel/umc.ko
> ./usr/lib/modules/3.5.3-2-ck/kernel/uwb.ko
> ./usr/lib/modules/3.5.3-2-ck/kernel/whci.ko
274,275d273
< ./etc/udev
< ./etc/udev/udev.conf
The ck-modules lead me to try this with a "vanilla" arch kernel which I also have installed. With the default arch kernel I am left in a recovery shell but exiting does not lead to a successful boot. I don't know what this really means, but perhaps something unique to the ck-kernel setup allows a recovery from this problem.
Any suggestions for further troubleshooting or exploration?
edit I put udev back in the hooks array, rebuilt the image, and now it works fine. So udev is the relevant peice of the puzzle. I thought the idea of using the modules, though, was so that udev wouldn't be needed. I must have missed a needed module, though I cant figure what it would be.
edit2 I've used "break=postmount" on both the working image with udev, and with the failing image without udev and I do an "lsmod" in the shell. I get the exact same list of modules. So all the correct modules are all loaded properly. But the absence of udev seems to cause a problem.
Last edited by Trilby (2012-09-01 15:10:14)
Thanks. I solved the issue. I found this thread: https://bbs.archlinux.org/viewtopic.php?pid=901651
Basically I just copied all of the modules listed in lsmod to the MODULES section of the mkinitcpio.conf on the HD, removed autodetect from the hooks, and ran mkinitcpio -p linux-mac. I'm not sure what all of that was actually mandatory, I didn't check, but I know it worked. I think the main thing was the pata_macio module.
Turns out persistent block device naming wasn't my issue at all. I reverted back to using /dev/sdaX names.
Similar Messages
-
ERROR: Device '/dev/sda3' not found.
This is my first time compiling a custom kernel. I am trying to compile zen kernel 3.12.3. Whenever I try to boot it up, it says this:
ERROR: device '/dev/sda3' not found. Skipping fsck
ERROR: Unable to find root device '/dev/sda3'
Then it drops me to a recovery shell. When I look at the contents of '/dev' none of my partitions are found on sda. '/dev/sda' is listed but nothing else. Has anybody else had this problem? /i have read various fixes but none of them have helped.
Sorry this is my first post.
Thanks in advance.Well, the whole point of the initramfs is to have it load the necessary modules to mount the rootfs. So if mkinitpcio complains that there are no modules to put in there, that is pretty problematic.
I think you should take a look at the PKGBUILD for the official Arch kernel. It includes a few lines that allow you to use menuconfig or nconfig or whatever, prior to that actual 'make'. I think that any time you install things to your system, you should probably be leveraging the package manager in order to properly track the files. This is particularly true when you are an Arch user and the creation of packages is so damn easy. -
[SOLVED] ERROR: Unable to find root device '/dev/sda3'
Earlier I updated the kernel to my arch system and found this error while trying to boot. I hate to post this because there are so many topics like it, but I've been looking for hours for a solution to this problem and can't find one.
Here is the output:
Booting 'Arch Linux'
root (hd0,1)
Filesystem type is ext2fs, partition type 0x83
kernet /vmlinuz-linux root=/dev/sda3 ro
[Linux-bzImage, setup=0x4200, size=0x2ff2d0]
initrd /initrd @ 0xfd17000, 0x2c878c bytes]
Probing EDD (edd=off to disable)... ok
Decompressing Linux... Parsing ELF... done.
Booting the kernel.
:: Starting udevd...
done.
Waiting 10 seconds for device /dev/sda3 ...
ERROR: device '/dev/sda3' not found. skipping fsck.
ERROR: Unable to find root device '/dev/sda3'.
You are being dropped to a recovery shell
type 'exit' to try and continue booting
sh: can't access tty; job control turned off
My partition layout is like this:
swap: /dev/sda1
boot: /dev/sda2
root: /dev/sda3
extended: /dev/sda4
home: /dev/sda5
I have two hard drives, but i'm sure /dev/sda is the one with my OS.
Here are some things I've tried:
This was at the very bottom of the pacman wiki
# mkdir /mnt/arch
# mount /dev/sdaX /mnt/arch (your root partition)
# cd /mnt/arch
# mount -t proc proc proc/
# mount -t sysfs sys sys/
# mount -o bind /dev dev/
# mount /dev/sdaX boot/ (your /boot partition) #This step is not needed if you do not have a separate boot partition
# chroot .
# pacman -Syu udev mkinitcpio
# mkinitcpio -p linux
I've also tried performing the above, downgrading the kernel, updating my mirrorlist, reinstalling the kernel, and rebooting as mentioned here.
I've alsa tried a few other things that I've read, but can no longer remember.
Any help would be greatly appreciated! Thanks.
Last edited by colton7909 (2012-05-25 02:09:36)Thank colton
Same problem here, but on a mac book (not mine eyh )
So, for those how have the problem (or need a live usb for mac or uefi systems),
1) with a 32bits system
- download gparted live cd
- use it for the step 3
2) with a 64bits system:
- you need the gparted live cd too: mount it and copy the EFI directory somewhere; then umount it;
- download a 64bits system (system rescue cd, as colton said is enough, follow the instructions for installation on their website first);
- mount you live usb, install the 64bits system;
- copy EFI system on the key
- edit the grub.cfg in EFI/boot/ , add the following before the other entries:
menuentry "System Rescue" {
set gfxpayload=keep
linux /syslinux/altker64 nomodeset efi
initrd /syslinux/initram.igz
3) repairing...
- boot the broken computer with the live usb
- mount the partition on which your system is (e.g. /dev/sda1 on /mnt)
- chroot it, init the system as needed (mount /dev, /proc, etc. the easier way is using init scripts)
% chroot /mnt /bin/bash
% /etc/rc.sysinit
% mkinitcpio -p linux -
[solved] usb-storage-devices (sticks) are not longer mapped via citrix
Hello,
at work we have linux-clients (Arch, Plasma5, updated weekly) connected to a computing center (Win 2008 Servers) via citrix-receiver. In the past, usb-storage-devices were mapped, so we could acces them in Win. Now, they are not longer mapped. I can't say, since when. USB-Sticks are not in daily use. The computing center says, nothing has been changed there. So can someone help me to fix this issue?
Found solution myself: https://wiki.archlinux.org/index.php/Ud … udisks2.29
Last edited by uhoso (2015-04-23 08:57:49)Hello,
at work we have linux-clients (Arch, Plasma5, updated weekly) connected to a computing center (Win 2008 Servers) via citrix-receiver. In the past, usb-storage-devices were mapped, so we could acces them in Win. Now, they are not longer mapped. I can't say, since when. USB-Sticks are not in daily use. The computing center says, nothing has been changed there. So can someone help me to fix this issue?
Found solution myself: https://wiki.archlinux.org/index.php/Ud … udisks2.29
Last edited by uhoso (2015-04-23 08:57:49) -
Hey,
I need some help fast please. I recently booted up my gaming rig after swapping out a 7970 graphics card and upon system boot up, as the windows 7 logo appeared the system crashes and a BSOD appears for a split millisecond and I'm asked to start up repair windows
or start windows normally however when I click start up repair a black error screen appears with the following message and error: The boot selection failed because a device is inaccessible error state and an error code:0xc000000e. Now of fixed this before
multiple times except this instance nothing seems to work Ive tried the following:
- check for any unplugged or loose cables
- Re installed my ram
- Booted with on board graphics
- unplugged all usb devices and external devices with the exception of the keyboard and mouse
- Booted with system installation disc and attempted system repair several times only with the same outcome of wanting to restore from a previous system restoration point however it always fails
- changed the boot type to IDE which made the system boot furhter past the logo screen however it still crashes with the same error
- From the system installation disc I ran a chkdsk /f and no corruptions or bad sectors were found
However, I did run from the installation disc a "bcdedit" and my osdevice was unkown and my boot manager and boot loader were set to two different drives on being D: and the other being C:. So I re-linked all three back to the D: drive as the
windows installation disc says thats where Windows 7 is installed, although in the actual windows 7 My Computer its listed as C: drive which is weird? anyways after re-linking them using bcdedit /set {default} osdevice partition=D: and the other two commands
my recovery partition disappeared which was listed as C:, and now I can only see my local drive? That did not fix the error so I tried one last thing and ran another chkdsk D: /f /r which is taking for ages and I'm assuming my hard drive and its contents
are still intact ( thank god!!) because its taking so long and there are 612080 files to be processed!
I thought I might try and rebuild Master Boot Record?
I don't want to loose any of my data, well I hope I haven't lost any because I have over 150+ games and their saves :(
Any help or suggestions would be much appreciated :D
thanks guys!Hi,
Repair the current OS using the Windows 2008 / 7 DVD:
Boot to the Windows DVD
Select Next > Repair your computer
Select Next > Command Prompt
Change directory (cd) to x:\Sources\recovery
then type Startrep.exe to launch a quick automated startup repair utility which corrects boot environment values. This step may require more than one attempt and should be repeated a couple of times if the first repair fails.
If step 3 fails, open the command prompt and type bcdedit This
will display the values for Windows Boot Manager.
Review the values for Device. Is it set to unknown, as shown below? If so, proceed to step 7.
At the command prompt, type the following commands (c: is the default system partition. If your original partition was another drive letter, this value can be set to that drive letter):
bcdedit
/set {DEFAULT.EN_US} device partition=c:
(press enter)
bcdedit
/set {DEFAULT.EN_US} osdevice partition=c:
(press enter)
bcdedit
/set {BOOTMGR.EN_US} device partition=c:
(press enter)
Reboot the system after removing the OS disk.
Hope it helps,
Jan -
[SOLVED] dev-sda3.device timed out
Hi all!
First of all, I want to tell you, that I'm pretty new to Arch and I'm loving it.
But there is one problem that occurs, sometimes when I'm booting into
Arch. And this is really driving me nuts. I've searched around on google
and on this great forum, but I didn't find any similar topic.
I enabled the output of systemd while booting and it starts freezing
when it comes to the fsck of the device dev/sda3. The last point
the output shows is, that it reached the target swap.
I tried to figure out what's next point in the boot order and I'm pretty
sure that there is an issue with the sda3 partition. But the point
I really don't understand is, that sometimes the system boots without
an incidence.
I'm not so sure which logs you guys want to see and I don't want to spam
with irrelevant logs. Even if i nearly exclude it as an Error, i'll post the fstab:
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
/dev/sdb1 / ext4 rw,relatime,data=ordered 0 1
/dev/sdb3 /home ext4 defaults,noatime 0 2
UUID=ce5d83e9-1e2e-47e2-9077-f19a9dd7f1c7 none swap defaults 0 0
Thanks for all responses or ideas
TK
Last edited by TK (2013-01-21 21:18:43)Hey guys,
sorry, I'm a little bit late for sunday evening ...
Well the output of the fdisk -l is:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = Sektoren of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x638ed8df
Gerät boot. Anfang Ende Blöcke Id System
/dev/sda1 * 2048 327682047 163840000 7 HPFS/NTFS/exFAT
/dev/sda2 327682048 1953521663 812919808 7 HPFS/NTFS/exFAT
Disk /dev/sdb: 163.9 GB, 163927522816 bytes, 320170943 sectors
Units = Sektoren of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009150d
Gerät boot. Anfang Ende Blöcke Id System
/dev/sdb1 * 63 68356574 34178256 83 Linux
/dev/sdb2 68356575 76164164 3903795 82 Linux Swap / Solaris
/dev/sdb3 76164165 320170942 122003389 83 Linux
And the other command bohoomil suggested:
bohoomil wrote:systemctl --status failed.service
doesn't work, because it's an unkown option. Also
systemctl status failed.service
gives an error : No such file or directory.
Thanks for any further help, you guys are great
TK -
Error /dev/sda3 when no sda3 exists [Fixed]
Okay I've been asked to put arch on a old laptop. Everything is fine till I reboot.
I get
error /dev/sda3 not found
Error unable to find root device /dev/sda3
Dropping to recovery shell (I've never used the recovery shell before so have no idea what to do)
This is confusing to me became I only have a SDA 1 n 2 so why does it even think 3 exists?
SDA 1 is the primary and a small SDA 2 for swap
I am using syslinux for boot.
Any suggestions ??
Thanks in advance
needed to update the fallback on syslinux.
Last edited by Arch-Hoochie (2015-04-14 18:20:48)Arch-Hoochie wrote:How do i access fstab from the livecd? God I'm super noob all over again lol
Mount all your partitions (at /mnt, for example) and use `sprunge` to send command output to a pastebin:
cat /mnt/etc/fstab | curl -F 'sprunge=<-' http://sprunge.us
https://wiki.archlinux.org/index.php?ti … in_clients -
SOLVED: Mounting IDE ZIP Drives, "Special Device hdb4 Does Not Exist"
I thought I would post a follow-up, since I have finally resolved this long standing issue, which has plagued me since my first days with Linux many years ago.
As outlined in my original post below, every time I would attempt to access a Zip disk for the first time since boot, Linux (pretty much all distros I have ever tried, with the exception of SuSE 9.3) would fail to mount the disk and report back that "Special device hdb4 does not exist". Of course the "hdb4" part varies from distro to distro and machine to machine, depending on how your Zip disk is connected and how the distro names its disks, but the basic error has been constant. I have always worked around it by redoing the mount command specifying just the device, not the partition, and while that would always fail, it would force the creation of the device /dev/hdb4, and I could carry on. Annoying but effective.
FINALLY, a long term answer. I got my inspiration from a really snarky post I read in another online forum where someone had posted this very same question (this is a very common problem with no common answer it seems!). The respondant, who completely failed to provide a helpful answer, basically said "listen, the OS is telling you what is wrong - the device hdb4 doesn't exist - so fix it, and all will be just fine". Of course, the respondant didn't even bother to offer a suggestion about HOW to fix it.
However, therein lies the inspiration for the solution. Indeed they are right, /dev/hdb4 *doesn't* exist, so how to fix that? They had a point. I started researching the mysteries of mknod, a program that can create /dev files, and the even deeper mysteries of Linux device numbers, both major and minor.
In the end, I found a wonderfully informative document that described the current standard for the device numbering scheme used by mknod, and Linux in general. The key things of interest are this:
1/ The major number for IDE based drives is 3.
2/ IDE allows for 64 partitions per device, so the minor numbers are 0-63 for device "a", 64-127 for device "b" and so on. You derive the minor number of interest for your particular device by taking the starting value of the minor number range of interest for your device and adding the partition number to it. So, for example, hdb4 would have a minor number of 64 (the start of the minor number range for device "b") plus 4 (the partition number in "hdb4"), yielding a result of 68.
3/ The major number for SCSI based drives, or those that your OS treats as SCSI, is 8.
4/ SCSI allows for 16 partitions per device, so the minor numbers are 0-15 for device "a", 16-31 for device "b" and so on. You derive the minor number of interest for your particular device by taking the starting value of the minor number range of interest for your device and adding the partition number to it. So, for example, sdb4 would have a minor number of 16 (the start of the minor number range for device "b") plus 4 (the partition number in "hdb4"), yielding a result of 20.
In my case, Arch seems to be treating all of my disk based devices as SCSI, perhaps because I do have a real SCSI interfaced Jaz drive in my machine. So, the Zip disk of interest in my machine is sdc4 (my real SCSI jaz is sda, my Arch root is sdb, and the IDE Zip is sdc). Applying the above, for /dev/sdc4:
- The major number is 8.
- The minor number is 32 (start of range for device "c") plus 4 (the partition number) = 36.
Armed with this knowledge, I su'd to root and entered:
# mknod /dev/sdc4 b 8 36
and like magic, there is was, /dev/sdc4. I popped a disk into the drive and my first attempt to access it was greeted with success, not the usual "device does not exist" error! By the way, the "b" in the above command is just part of the mknod syntax, and indicates that I am creating a block device (vs. a character device, or some other type of device - disk drives all seem to be "block" devices for apparent reasons).
SO, determine your major number by device type (it will usually be 3 or 8), compute your minor number by device letter and partition number, and add a mknod command to your system startup (so you don't have to do it manually every time) and you are done! No more annoying "device does not exist" errors.
Now for the kicker. It turns out that this information has been available under my nose all along. I just didn't recognize the code. If you do the following:
# ls -ald /dev/sd*
Linux obligingly provides you with the major number and the start of the minor number range for your device. Since Linux has always detected the Zip *device* (just not the partition) this is really all you need to know. When I issue the above command, I get an output like:
brw-rw---- 1 root disk 8, 32 date time /dev/sdc
Guess what, there they are! "8" is the major number of interest, "32" is the start of the minor number range of interest. If I had just recognized that, and known that all I had to do was add the partition number to the minor number to get the magic number to feed into mknod, things would have been easier.
Sorry for the long post, but like so many things in Linux, the OS doesn't make this easy on the uninitiated. I sincerely hope that this post may help lots of other people to resolve this vexing and longstanding problem.Solved!
See the lengthy response in this post:
http://bbs.archlinux.org/viewtopic.php?id=36468
I posted the solution separately, with the most informative title I could come up with, so that others Googling this topic on the web may hopefully easily find it. -
[SOLVED] mount: /dev/sda3 is already mounted or /mnt busy
Hello all, I've spent several hours researching this to no avail. I'm trying to mount my partitions, first with my root partition (/dev/sda3) mounted at /mnt. It seems no matter what partition I try to mount it gives me the same error: mount: /dev/sda3 is already mounted or /mnt busy. I've tried the fuser command and killed all process associated with this device but new processes seem to pop up making it busy once more.
Hopefully somebody has some knowledge of what could be causing this one.
Thanks, and I hope to resurrect an Arch workstation once more!
-Aaron
Last edited by guitarxperience (2012-10-09 14:52:21)guitarxperience wrote:
ewaller wrote:
guitarxperience wrote:
I'd love to post that but can you tell me how to post it when I'm running the install on another computer. ...I just don't know if there's a way to route the output to a URL or something after-all it is connected to the internet. But there is no browser as far as I know.
Why, yes!
community/wgetpaste 2.20-1 [installed]
A script that automates pasting to a number of pastebin services
ewaller@odin:~ 1004 %ls -l | wgetpaste
Your paste can be seen here: https://gist.github.com/3842491
ewaller@odin:~ 1005 %
Looks like a groovy tool.. Can you tell me how to get it on my installation setup? Don't seem to have apt-get available or anything like that to install things.
Oh yeah this is Arch so I would use pacman. The community database along with core and extra does not exist... when i run pacman. -
Yesterday I upgraded my Lenovo X100e
# pacman -Syu
and rebooted. Upon reboot, I received the error
ERROR: Cannot find root device '/dev/disk/by-uuid/[...]'
just after kernel decompression. I got dropped into the recovery shell
and could not boot.
The problem persisted despite using different root device names (e.g. /dev/sda3, the actual root device). After reading the instructions at https://wiki.archlinux.org/index.php/Chroot I used a core installation image (on a usb stick) to boot the machine, then chrooted into my installation. I ran mkinitcpio and found that the udev hook was missing, i.e. not in /lib/initcpio/hooks. Nor was there a file called 'udev' in /lib/initcpio/install.
I copied these files from a friend's installation and then re-ran mkinitcpio:
# mkinitcpio -p linux
I was able to reboot successfully after that.
The weird thing: I don't know how the udev hook script was deleted from /lib/initcpio/hooks.
If someone else runs into this problem: try to run mkinitcpio (e.g. by using the chroot), and check for this problem. I think the problem was that the root device could not be found because the udev hook had not run, and therefore /dev was unpopulated.Betwen udev-181-2 and udev-181-5, the hooks have moved from /lib/initcpio to /usr/lib/initcpio. But mkinitcpio -L should still list them.
I have a similar problem since the last update. The kernel doesn't seem to load my raid driver anymore. Upon boot it throws some cryptic udev messages at me and then crashes. Haven't found out what that is about yet. -
I'm trying to sync a new iphone into i tunes. I'm getting a message that says that this iphone cannot be used because the apple mobile device service is not started. Any idea what I can do to solve this issue?
See Here...
AMDS for Windows
http://support.apple.com/kb/TS1567
AMDS for Mac
http://support.apple.com/kb/ht1747 -
[SOLVED] - Arch Boot Error: Unable to find Root Device /dev/sdb1
I had Arch running perfectly using /dev/sdb1 (versus Disk Label or UUID) and decided to do a update. After the Update I can't boot
to a running system, and I get this error message:
ERROR: Unable to find root device /dev/sdb1
You are being dropped into a recovery shell.
Is there an easy way to convert to UUID or Disk Label since the latest Upgrade doesn't allow me to continue to use /dev/sdb1 ??
I'd prefer not to have to rebuild both USB Flash Drives to get functional systems.
Any Help is greatly appreciated.
Suggestions?
Larry
Last edited by lkraemer (2012-02-21 15:14:02)Check your grub and read https://wiki.archlinux.org/index.php/UUID#By-uuid
Edit:
https://bbs.archlinux.org/viewtopic.php … 0#p1059160
https://bbs.archlinux.org/viewtopic.php?pid=1059338
https://bbs.archlinux.org/viewtopic.php?id=135288
Last edited by karol (2012-02-21 01:07:21) -
[SOLVED] Missing mixer device in /dev/snd??
I'm trying to get the gkrellm volume plugin working. When I try to configure it, the plugin can't find any mixer devices. My next step was to check the plugin source which notes that "enable_alsa=1" should be an argument to make. Since this wasn't in the PKGBUILD script, I added it and rebuilt the package. After updating and installing, I restarted gkrellm, but was still unable to locate a mixer. Since sound is working just fine, i started digging deeper.
8< Here's the output of several diagnostic commands... >8
$ cat /proc/asound/cards
0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xfe7f0000 irq 16
1 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xfe8e8000 irq 19
$ cat /proc/asound/devices
1: : sequencer
2: [ 0- 1]: digital audio playback
3: [ 0- 0]: digital audio playback
4: [ 0- 0]: digital audio capture
5: [ 0- 0]: hardware dependent
6: [ 0] : control
7: [ 1- 3]: digital audio playback
8: [ 1- 0]: hardware dependent
9: [ 1] : control
33: : timer
$ l /dev/snd
total 0
drwxr-xr-x 2 root root 80 Jul 25 10:44 by-path/
crw-rw----+ 1 root audio 116, 6 Jul 25 10:44 controlC0
crw-rw----+ 1 root audio 116, 9 Jul 25 10:44 controlC1
crw-rw----+ 1 root audio 116, 5 Jul 25 10:44 hwC0D0
crw-rw----+ 1 root audio 116, 8 Jul 25 10:44 hwC1D0
crw-rw----+ 1 root audio 116, 4 Jul 25 10:44 pcmC0D0c
crw-rw----+ 1 root audio 116, 3 Jul 26 03:36 pcmC0D0p
crw-rw----+ 1 root audio 116, 2 Jul 25 10:44 pcmC0D1p
crw-rw----+ 1 root audio 116, 7 Jul 25 10:44 pcmC1D3p
crw-rw----+ 1 root audio 116, 1 Jul 27 03:44 seq
crw-rw----+ 1 root audio 116, 33 Jul 25 10:44 timer
# lsmod |grep snd
snd_seq 50785 0
snd_seq_device 5372 1 snd_seq
snd_hda_codec_hdmi 22784 1
snd_hda_codec_realtek 297871 1
snd_hda_intel 22186 1
snd_hda_codec 77543 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 6342 1 snd_hda_codec
snd_pcm 73736 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer 19488 2 snd_seq,snd_pcm
snd 57256 11 snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 6178 1 snd
snd_page_alloc 7161 2 snd_hda_intel,snd_pcm
$ pacman -Qs alsa
local/alsa-lib 1.0.24.1-1
An alternative implementation of Linux sound support
local/alsa-plugins 1.0.24-2
Extra alsa plugins
local/alsa-utils 1.0.24.2-1
An alternative implementation of Linux sound support
8< end of command output >8
I've been unable to locate a snd_mixer module for the kernel and there is no /dev/snd/mixerC?D?
I thought that the ALSA interface had changed since I last compiled from scrath (I was a Slacker from kernel 1.2 until I migrated to Ubuntu, and now to Arch), but according to http://www.alsa-project.org/main/index. … ibrary_API, /dev/snd/mixerCXDX is still part of the interface specification.
Did I miss an ALSA pacakage that's required to get /dev/snd/mixerCXDX?
Or has the ALSA implementation changed (/dev/snd/mixerCXDX deperecated), in which case the gkrellm plugin needs to be updated? Google didn't turn up anything definitive and the alsa-driver-1.0.2 source tarball doesn't include a changelog.
Thanks!
Last edited by barthel (2011-07-29 03:07:07)That's what I was afraid of. I switched to Ubuntu at Dapper Drake, so I've not been up to speed with the details of program changes the way I was with Slackware. I don't want to install the OSS layer only for the sake of a volume widget.
Thanks for the reply. I'm taking a look at Conky now as a potential replacement for gkrellm, since it hasn't been updated in years. -
[Solved] /dev/sda3: Clean and fscheck
Hi all, before I mess up my system I would like to get a few opinions first. I have read other posts and the wiki links for this matter. I am still new to arch linux and using other linux distros never had this problem before. Another thing to note is I get this whenever I have had to re-install the os aswell. Anyway I do not get the normal bootup what I get is the following before i get the display manager.
/dev/sda3: clean (with some random numbers)
systemd-fscheck /dev/sda4: clean
systemd-fscheck /dev/sda1: clean
Random numbers on all of them. For my arch system I have a 1tb hdd set up as the following
boot: /dev/sda1 - 2GB
Swap: /dev/sda2 - 8GB
Root: /dev/sda3 - 25GB
Home: /dev/sda4 - Rest of the HD
Any help would be appreciated.
Last edited by henry.gray (2013-03-15 21:14:00)henry.gray wrote:
What I was trying to get across is that the message I was recieving when booting up is new to me. I have used Ubuntu, Debian and I have tried Manjaro and Gentoo. I always got the same loading all the time, list of modules being loaded before getting to the display manager. All I really wanted to know is if this was normal and wasn't something that I may have caused, With Ubuntu and Debian, when I installed these I was pretty much using all the pre-installed software and then installing what I needed. I only tried Gentoo but couldn't get used to it. I have just gotten confident enough to branch out and start with a net install cd and build from there.
Although I have gotten a grasp of how arch works and how to install things, there are some parts that are new.
Well it is good that you have gotten you answer.
I have used Gentiles in the past a few times and the learning curve is a bit harder than Arch. One of the things that I feel makes Arch so great is the package management. Pacman is super simple and so much faster than anything else out there. Everytime I have taken the time to install Gentoo and get it going it is always about three good sized updates later that I can't stand compiling the packages any longer and I just stop booting into it.
I keep thinking a source based distribution would be really great to get really comfortable with but I think I am just too impatient/attention deficit to really get anywhere with one. Maybe if I had started my Linux journey a decade earlier it would be a bit easier. I even have a pretty fast computer and I still can't stand the compiling screensaver. -
[Solved] External USB 3.0 drive not seen under /dev/sd*
Ok, thought this would be easy but for some reason I cant get arch to see the physical drive. Its a new Seagate 2TB external USB 3.0 drive. I connected it to a windows laptop and it was quickly recognized (ntfs). I then installed ntfs-3g but still cant see it. I then formatted it under windows as ext4, but its still not seen. I tried this with 2 arch PC's, both the same issue. I seen a few other posts and tried a few things like making sure the mod xhci_hcd was running. I have the latest updates on each system. fdisk -l does not show the device at all! I can see and boot to other USB devices fine just not this one, maybe since its USB3.0??
I noticed here, they talk about maybe USB3 is broke in the new kernels, after 3.10.2 maybe?
Similar issue: https://bbs.archlinux.org/viewtopic.php?id=126299
Possible bug: https://bugs.archlinux.org/task/36296
However, I would think that by now, this would have been fixed as USB3.0 is more common? Other than trying to find a OLD 3.10.2 kernel any other advice?
dmesg:
[47653.187708] usb 6-1: new SuperSpeed USB device number 2 using xhci_hcd
[48258.419876] r8169 0000:02:00.0 enp2s0: link down
[48435.623148] usb 6-1: USB disconnect, device number 2
[48697.691980] usb 6-1: new SuperSpeed USB device number 3 using xhci_hcd
[48938.171094] usb 6-1: USB disconnect, device number 3
[48975.057438] r8169 0000:02:00.0 enp2s0: link up
uname -a
Linux 3.15.7-1-ARCH #1 SMP PREEMPT Mon Jul 28 20:06:17 CEST 2014 x86_64 GNU/Linux
lsusb: (Seagate USB)
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 003: ID 046d:c50e Logitech, Inc. Cordless Mouse Receiver
Bus 007 Device 002: ID 046d:082d Logitech, Inc. HD Pro Webcam C920
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 004: ID 0bc2:ab20 Seagate RSS LLC
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 002: ID 05af:8366 Jing-Mold Enterprise Co., Ltd
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 013 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 010 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 012 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 011 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsmod:
Module Size Used by
uvcvideo 74983 0
videobuf2_vmalloc 3368 1 uvcvideo
videobuf2_memops 2239 1 videobuf2_vmalloc
videobuf2_core 30407 1 uvcvideo
snd_usb_audio 131860 0
videodev 123032 2 uvcvideo,videobuf2_core
snd_usbmidi_lib 21428 1 snd_usb_audio
snd_rawmidi 20278 1 snd_usbmidi_lib
media 12611 2 uvcvideo,videodev
snd_seq_device 5244 1 snd_rawmidi
mousedev 10912 0
evdev 11784 8
mac_hid 3273 0
kvm_amd 52987 0
kvm 408583 1 kvm_amd
microcode 17157 0
serio_raw 5073 0
pcspkr 2059 0
k10temp 3242 0
snd_hda_codec_realtek 54803 1
r8169 59191 0
snd_hda_codec_generic 56366 1 snd_hda_codec_realtek
mii 4251 1 r8169
shpchp 25706 0
snd_hda_codec_hdmi 40396 1
radeon 1361721 21
snd_hda_intel 22831 1
snd_hda_controller 22975 1 snd_hda_intel
snd_hda_codec 104665 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
ttm 67215 1 radeon
snd_hwdep 6652 2 snd_usb_audio,snd_hda_codec
snd_pcm 83207 5 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer 19294 1 snd_pcm
drm_kms_helper 39643 1 radeon
snd 61276 14 snd_hda_codec_realtek,snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
tpm_infineon 7786 0
tpm_tis 9310 0
soundcore 5551 2 snd,snd_hda_codec
tpm 23363 2 tpm_tis,tpm_infineon
hwmon 3346 2 k10temp,radeon
i2c_algo_bit 5480 1 radeon
i2c_piix4 10801 0
button 4765 0
processor 25153 0
vboxvideo 2029 0
drm 244846 25 ttm,drm_kms_helper,radeon,vboxvideo
i2c_core 41648 6 drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,radeon,videodev
pci_stub 1381 1
vboxpci 15059 0
vboxnetflt 17700 0
vboxnetadp 18547 0
vboxdrv 345858 3 vboxnetadp,vboxnetflt,vboxpci
ext4 494420 3
crc16 1359 1 ext4
mbcache 9155 1 ext4
jbd2 82948 1 ext4
sd_mod 37554 4
sr_mod 15026 0
crc_t10dif 1135 1 sd_mod
cdrom 35191 1 sr_mod
crct10dif_common 1436 1 crc_t10dif
ata_generic 3434 0
pata_acpi 3579 0
hid_generic 1217 0
usbhid 41250 0
hid 93052 2 hid_generic,usbhid
atkbd 17006 0
libps2 4571 1 atkbd
i8042 13666 1 libps2
serio 11018 4 serio_raw,atkbd,i8042
pata_atiixp 5163 0
ohci_pci 4192 0
ehci_pci 4152 0
ohci_hcd 35606 1 ohci_pci
ehci_hcd 64619 1 ehci_pci
ahci 24299 3
libahci 21772 1 ahci
xhci_hcd 149286 0
libata 174089 5 ahci,pata_acpi,libahci,ata_generic,pata_atiixp
usbcore 188509 9 snd_usb_audio,uvcvideo,ohci_hcd,ohci_pci,snd_usbmidi_lib,ehci_hcd,ehci_pci,usbhid,xhci_hcd
scsi_mod 138333 3 libata,sd_mod,sr_mod
usb_common 1712 1 usbcore
Last edited by banshee28 (2014-08-05 02:27:01)R00KIE wrote:
Make sure you haven't blacklisted the uas driver. If the uas driver does not work well for you, check here [1] how to disable it for a particular drive.
[1] https://bbs.archlinux.org/viewtopic.php?id=183190
Awesome, THANKS!! Yes I got it to work following this and specifically Da_Coynul's post:
I was able to get my external drive working again by telling the usb-storage module to ignore uas for the device. Here is how to do it:
First, create a file named ignore_uas.conf in the /etc/modprobe.d directory containing the following*:
options usb-storage quirks=Vendor_ID:Product_ID:u
*(substitute your actual Vendor_ID and Product_ID obtained from the lsusb -v command).
Next, regenerate your inital ramdisk:
# mkinitcpio -p linux
Finally, reboot your computer.
Although this is not a solution to broken uas, at least it will let you use your drive as before hmm
https://bbs.archlinux.org/viewtopic.php … 2#p1428782
Thanks everyone...Now I can see the drive, and will work on formatting it with XFS...
Maybe you are looking for
-
Bought New Extreme, works great with Macs but can't get PC to connect
I just bought a new Airport Extreme this weekend. As promised it was a breeze to set up and things were working well until I tried to connect my TIVO and my work laptop (Windows) to the network I set up. I can't get either to connect to either the ba
-
Hi All, Firstly I am a complete newbie with java code so apologies in advance!! To cut a long story short I have inherited a java app which is of great importance to the company I am working for - in fact its of such importance that the creator saw n
-
Service-Type problem on WLC5508 + Freeradius
Hi all, I'm trying to set up the Management Auth process on my WLC5508 using a Freeradius/Ldap Server. Auth process through Web management console is working fine except the fact all users are affected in the "Monitor" role. I have set up the Service
-
Under which Apple Id is registered an Ipad
Hi everyone, does somebody know how to find out under which apple ID was registered an Ipad, because im trying to register an it says "According to our records, this serial number is registered to another Apple ID. If you have more than one Apple ID,
-
Updating Mountain Lion Remotely
Hi all, The institution I work at has a handful of Macs which we would like to update remotely. We have configured the Macs with profile manager on our xserve so that they download their updates from the server rather than the internet. Basically my