LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 10-23-2010, 12:19 AM   #16
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791

Original Poster
Blog Entries: 62

Rep: Reputation: 56

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?
 
Old 10-23-2010, 05:47 AM   #17
sandman
Member
 
Registered: Sep 2002
Distribution: arch
Posts: 232

Rep: Reputation: 30
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.
 
Old 10-23-2010, 06:14 AM   #18
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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
 
Old 10-23-2010, 05:56 PM   #19
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791

Original Poster
Blog Entries: 62

Rep: Reputation: 56
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.
 
Old 10-23-2010, 05:59 PM   #20
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791

Original Poster
Blog Entries: 62

Rep: Reputation: 56
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.
 
Old 10-23-2010, 06:16 PM   #21
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791

Original Poster
Blog Entries: 62

Rep: Reputation: 56
Still no luck.
 
Old 10-23-2010, 06:20 PM   #22
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791

Original Poster
Blog Entries: 62

Rep: Reputation: 56
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!
 
Old 10-23-2010, 06:23 PM   #23
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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

Last edited by linus72; 10-23-2010 at 06:30 PM.
 
Old 10-23-2010, 07:00 PM   #24
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791

Original Poster
Blog Entries: 62

Rep: Reputation: 56
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.
 
Old 10-23-2010, 07:02 PM   #25
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791

Original Poster
Blog Entries: 62

Rep: Reputation: 56
Also: I was chrooted into the external 500GB drive from the Ubuntu installation on my main SSD.
 
Old 10-23-2010, 10:29 PM   #26
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791

Original Poster
Blog Entries: 62

Rep: Reputation: 56
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?
 
Old 10-23-2010, 10:40 PM   #27
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791

Original Poster
Blog Entries: 62

Rep: Reputation: 56
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.
 
Old 10-23-2010, 11:09 PM   #28
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791

Original Poster
Blog Entries: 62

Rep: Reputation: 56
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.
 
Old 10-24-2010, 03:44 AM   #29
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791

Original Poster
Blog Entries: 62

Rep: Reputation: 56
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?!
 
Old 10-24-2010, 11:57 PM   #30
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791

Original Poster
Blog Entries: 62

Rep: Reputation: 56
/!\bump/!\
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you install thinks on Arch? What is arch for "emerge", "apt-get" etc? just a man Arch 9 01-28-2022 05:48 AM
Installing "dev" section in Arch Mr. Alex Arch 7 12-05-2010 09:06 AM
"bad interpreter : no such file or directory" when configure "flex" acer_peri Linux - Software 10 11-10-2010 01:19 AM
C Drive "/dev/hda1" accidently used in dd command at "of=" switch M D Linux - Software 4 04-26-2007 08:56 AM
2.4 kernel w/ devfs "/dev/tty1-8: No such file or directory" hedpe Linux - Software 0 05-19-2006 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 06:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration