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-07-2010, 03:28 AM   #1
BeaverusIV
Member
 
Registered: Oct 2004
Location: New Zealand
Distribution: Arch Linux 2010.05
Posts: 136

Rep: Reputation: 18
No sd* in /dev...


When I boot my machine it fails at the disk check so asks me to remount and check. I can run
Code:
mount -no remount,rw /
fine and it mounts, but
Code:
mount /dev/sdb2 /mnt/virtual
says no such thing as /dev/sdb2. So I
Code:
ls /dev/s*
and I get /dev/shm but nothing else...

The way this came about is my system was using quick-boot and readahead-fedora, but readahead wasn't working right (Saying no such thing as /var/lib/readahead*.later) so I uninstalled it and quick-boot. Then my computer boots, but isn't recognised as my computer (beaverusiv@chisai) but as beaverusiv@none... tty is permission denied and all sorts of funny stuff.

I noticed 'qinit.multi: No such file or directory' on boot and found out that particular message was coming from a line in inittab about qinit.multi. So I ran
Code:
sudo mount -no remount,rw /
sudo pacman -S initscripts
which reinstalled it, but didn't fix the problem. Thinking I should install quick-init to override my inittab I tried running
Code:
yaourt quick-init
but the Internet was off. Running
Code:
ifconfig -a
found only loopback...

My next plan of attack was to boot from an install disk and run
Code:
mount /dev/sdb2 /mnt
wget http://aur.archlinux.org/packages/quick-init/quick-init.tar.gz
tar xzf quick-init.tar.gz
cd quick-init
makepkg PKGBUILD
pacman -Ur /mnt quick-init 1.11-10.pkg.tar.gz
And then I rebooted into the mess I'm in... I know I've probably done everything wrong, but can I salvage this? I don't want to reinstall, mainly for bandwidth reasons...
 
Old 10-08-2010, 12:04 PM   #2
ShadowCat8
Member
 
Registered: Nov 2004
Location: San Bernardino, CA
Distribution: Gentoo, Arch, (RedHat4.x-9.x, FedoraCore 1.x-4.x, Debian Potato-Sarge, LFS 6.0, etc.)
Posts: 261

Rep: Reputation: 52
Hmmm...

Well, the first thing I would recommend would be; Once you are actually booted to the LiveCD/Install disk, mount the partitions of your hard drive to a mount point on the LiveCD filesystem and chroot into it to do your cleanup. Now, I haven't played in Fedora for a while, but coming from a Gentoo perspective, the following is what I do when I have to fix a drive like yours:
Code:
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
At this point, I am within the hard drive's filesystem, with the environment of the drive's OS, but the LiveCD's subsystem running. At this point, I can re-install the packages I need to fix the OS and get it running again. I'm sure there must be a way to get the same thing accomplished in Fedora.

HTH.
 
1 members found this post helpful.
Old 10-11-2010, 08:53 PM   #3
BeaverusIV
Member
 
Registered: Oct 2004
Location: New Zealand
Distribution: Arch Linux 2010.05
Posts: 136

Original Poster
Rep: Reputation: 18
Thanks for the reply.

I ran (After finding the right (x64) install disk):
Code:
mkdir /mnt/arch
mount /dev/sdb2 /mnt/arch
mount -t proc none /mnt/arch/proc
mount -o bind /dev /mnt/arch/dev
chroot /mnt/arch /bin/bash
source /etc/profile
And then was able to uninstall and reinstall quick-init which did the trick.
 
  


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
pseudo terminals: /dev/ptmx <-> /dev/pts/ vs. /dev/ptyp <-> /dev/ttyp rtspitz Linux - Software 2 12-02-2011 02:07 PM
OpenSUSE x86_64 does not mount /dev/tape (or /dev/st0 or /dev/nst0) yankeeinga Linux - Newbie 6 08-21-2008 12:51 PM
using flash drive changes device /dev/sr0 to /dev/sr1 for mapping to /dev/pktcdvd/0? lugoteehalt Linux - Software 3 10-24-2007 10:27 AM
/dev/audio, /dev/dsp and /dev/mixer missing in Debian Etch 1337_penguin Debian 2 04-11-2007 11:33 AM
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM

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

All times are GMT -5. The time now is 11:14 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