LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
Blog Entries: 62

Original Poster
Rep: Reputation: 54

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
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,071

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
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
Blog Entries: 62

Original Poster
Rep: Reputation: 54
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
Blog Entries: 62

Original Poster
Rep: Reputation: 54
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
Blog Entries: 62

Original Poster
Rep: Reputation: 54
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
Blog Entries: 62

Original Poster
Rep: Reputation: 54
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
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,071

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
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
Blog Entries: 62

Original Poster
Rep: Reputation: 54
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
Blog Entries: 62

Original Poster
Rep: Reputation: 54
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
Blog Entries: 62

Original Poster
Rep: Reputation: 54
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
Blog Entries: 62

Original Poster
Rep: Reputation: 54
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
Blog Entries: 62

Original Poster
Rep: Reputation: 54
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
Blog Entries: 62

Original Poster
Rep: Reputation: 54
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
Blog Entries: 62

Original Poster
Rep: Reputation: 54
/!\bump/!\
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
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
How do you install thinks on Arch? What is arch for "emerge", "apt-get" etc? just a man Arch 8 02-04-2010 11:06 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


All times are GMT -5. The time now is 11:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration