LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   gdm-binary: /var/run/dbus/system_bus_socket: No such file or directory (https://www.linuxquestions.org/questions/arch-29/gdm-binary-var-run-dbus-system_bus_socket-no-such-file-or-directory-839885/)

Kenny_Strawn 10-23-2010 12:19 AM

I tried that:

Code:

GRUB_CMDLINE_LINUX="root=/dev/disk/by-id/usb-Hitachi_HDS721050CLA362_1521033AFFFF-0:0-part1 rootfstype=ext4 rootdelay=30"
Still, no success. I wonder if there's any drivers installed by default in Arch for it. If not, how do I get them?

sandman 10-23-2010 05:47 AM

actually I meant to use the "by-label" part from that link, not by-id or by-uuid. what you need to do is label your drive using one of the commands depending on your file system you used. label it anything you want like "arch_usb" or whatever. then in your command use
Code:

GRUB_CMDLINE_LINUX="root=/dev/disk/by-label/arch_usb rootfstype=ext4 rootdelay=30"
or whatever you decide to label the drive. then it won't matter what the actual /dev/sXX is because it will look for the drive label "arch_usb" and boot that drive.

linus72 10-23-2010 06:14 AM

wait a minute

when you made the new kernel26.img, how did you do it?

OH!
also, see this about adding "usb" as one of the hooks
http://wiki.archlinux.org/index.php/...x_on_a_USB_key

Quote:

* Regenerate the initrd image, kernel26.img. Edit /etc/mkinitcpio.conf, changing the hooks to include (at a minimum): "base udev ide usb filesystems" (Note: if using the 7.2 CD, and installing from the CD, you will have mkinitrd instead of mkinitcpio. During the configuration, you will be asked to edit mkinitrd.conf; simply change REMOVE_USB=1 to REMOVE_USB=0 and ignore the following command). Then rebuild the image by issuing:

# mkinitcpio -k 2.6.25-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img.

Note: The kernel version (-k) must be the kernel version in the USB key, not the live cd's kernel version.
mine looks like this
HOOKS="base udev usb autodetect pata scsi sata filesystems"

hope that helps

Kenny_Strawn 10-23-2010 05:56 PM

Code:

[root@kenny-AOA110 /]# mkinitcpio 2.6.35-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin dry run
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [usb]
:: Parsing hook [autodetect]
FATAL: Could not load /lib/modules/2.6.35-22-generic/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.35-22-generic/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.35-22-generic/modules.dep: No such file or directory
find: `/lib/modules/2.6.35-22-generic': No such file or directory
FATAL: Could not load /lib/modules/2.6.35-22-generic/modules.dep: No such file or directory
find: `/lib/modules/2.6.35-22-generic': No such file or directory
FATAL: Could not load /lib/modules/2.6.35-22-generic/modules.dep: No such file or directory
find: `/lib/modules/2.6.35-22-generic': No such file or directory
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Dry run complete, use -g IMAGE to generate a real image
[root@kenny-AOA110 /]#

And this is from a chroot jail with /proc, /sys, and /dev/pts mounted.

Still needing help.

Kenny_Strawn 10-23-2010 05:59 PM

Also: Trying to 'nano /proc/version' returns an input/output error from the chroot. I will try copying /proc/version to the clipboard and unmounting /proc, then copying the version back into /proc, seeing if that will help when I edit it.

Kenny_Strawn 10-23-2010 06:16 PM

Still no luck.

Kenny_Strawn 10-23-2010 06:20 PM

And here's the big gig: How come mkinitcpio is looking for Ubuntu's kernel?! I specifically specified the kernel version in the mkinitcpio command line!

linus72 10-23-2010 06:23 PM

your doing it from an ubuntu 10.10 install
you might have to do it from a arch livecd
Quote:

FATAL: Could not load /lib/modules/2.6.35-22-generic/modules.dep: No such file or directory
its looking for the kernel modules your running off of

you got a arch livecd/usb?

you may be able to use fake-uname from salixos
http://enialis.net/~jrd/salix/fake-u....1-noarch-1cp/

http://www.salixos.org/forum/viewtopic.php?f=20&t=275

so before or after you chroot do

fake-uname-activate 2.6.35-ARCH or whatever

just decompress it and put everything where it goes,etc
Code:

tar xJvf fake-uname-0.1-noarch-1cp.txz

./
usr/
usr/src/
usr/src/fake-uname-0.1/
usr/src/fake-uname-0.1/SLKBUILD
usr/src/fake-uname-0.1/build-fake-uname.sh
usr/doc/
usr/doc/fake-uname-0.1/
install/
install/slack-desc
sbin/
sbin/fake-uname
sbin/fake-uname-disactivate
sbin/fake-uname-activate

works on debian sid, etc

Kenny_Strawn 10-23-2010 07:00 PM

Sorry, forgot '-k'. Now it works perfectly. After my GNOME Shell installation on Ubuntu is finished, I will reboot and try out my Arch to see if it boots.

Kenny_Strawn 10-23-2010 07:02 PM

Also: I was chrooted into the external 500GB drive from the Ubuntu installation on my main SSD.

Kenny_Strawn 10-23-2010 10:29 PM

At least now I am able to boot to a shell. But I still can't figure out why I can't get GDM to start! Every time I try to copy /var/run/dbus/system_bus_socket to the drive, it's always lost on reboot. Any commands I have to type in the chroot or hooks I have to add to mkinitcpio to make GDM autostart during the boot process (and me being able to log into my chroot-installed GNOME)? If so, what?

Kenny_Strawn 10-23-2010 10:40 PM

Yes, I have GDM installed, in case you're wondering. I installed it when I chrooted into the basic Arch installation on the external 500GB SimpleTech drive from Ubuntu and installed GNOME, Shotwell, Firefox, LibreOffice, and many other packages.

Kenny_Strawn 10-23-2010 11:09 PM

For any of you who are wondering, GDM's error message reads something like:

Code:

***(GLib-GObject CRITICAL)***: /var/run/dbus/system-bus-socket: No such file or directory
And I still have DBus installed.

Kenny_Strawn 10-24-2010 03:44 AM

I was getting help, and now no help at all? Why?! Just how do I get dbus to run at startup so that GDM can also run?

Please, I'm begging here. Just what hooks do I pass to mkinitcpio to load X and GNOME at startup?!

Kenny_Strawn 10-24-2010 11:57 PM

/!\bump/!\


All times are GMT -5. The time now is 10:26 PM.