You are not logged in.

#1 2006-02-15 11:30:24

DBerest
Member
Registered: 2006-02-15
Posts: 46

Booting error after post-install update [Solved]

hi

Been using Linux for a while, but wanting to learn rather than just use, so decided to give Arch a go, after the review in LinuxMagazine.

Managed to install and boot into it after a few trial and error.

Ran "pacman -Syu"
pacman updated itself, then ran into the hotplug conflict. I took it from This thread that it was safe to accept to remove hotplug.

Ran "pacman -Syu" again 
I then ran into the the error:

error: the following file conflicts were found
grub: /usr/share/grub: exists in filesystem.

Followed This thread and did

phrakture wrote:

'mv' /usr/share/grub to something like /usr/share/grub-backup

.

Ran pacman -Syu again, this time, it ran properly (I think)
Rebooted the computer, ran into  a kernel panic:

UFS: unable to mount root on unknown-block(0,0)

. Followed This thread and  the wiki and edited the instruction on Grub's boot screen to set

root=/dev/hda1 ro

and added

initrd /initrd26.img

to the line uderneath.

this allows me to boot (sort off), but I then get the following error:

/bin/sh: can't access tty; job control turned off

.
From there, I get what seems to be a limited shell (get the "#" sign but not the location I am in such as "root@archbox:#" which I would expect). Here, I am snookered. If I search the wiki for this message, I get one article which refers to Cups and is not relevant to the issue, as far as I can tell, and I do not get any joy from the forum either.
Reinstalling the system is not a problem, but I would rather understand what is happening before I do it, so that I can fix it if the issue reappears, and because it fits into the "learning" purpose of installing this distro.

Could someone guide me on my next step?

Thx
Damien

Offline

#2 2006-02-15 12:12:52

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Booting error after post-install update [Solved]

Change initrd26.img to initrd26-full.img, and you should be able to boot. When you're up and running, have a look at the wiki page on initrd for more info.

Offline

#3 2006-02-15 19:47:57

DBerest
Member
Registered: 2006-02-15
Posts: 46

Re: Booting error after post-install update [Solved]

tomk wrote:

Change initrd26.img to initrd26-full.img, and you should be able to boot. When you're up and running, have a look at the wiki page on initrd for more info.

Thanks, that did it. Thought I had tired that as well, though, must have been tired and made some typos.....

On a sidenote, it seems that after the install, there was "/dev/discs/disc0" then came the partitions: part1; part2; part3, which is now translated as hda1; hda2; hda3.  I thought partitions started with hda0..  Am I wrong or is the way Arch auto-prepares the hard drive just skips the 0 partition?

Offline

#4 2006-02-15 20:40:22

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: Booting error after post-install update [Solved]

No, hda1 is the first partition on your first disc!

Offline

#5 2006-02-15 21:38:49

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Booting error after post-install update [Solved]

Here's an excerpt from the old grub/menu.lst that might help:

# DEVICE NAME CONVERSIONS
#
#  Old /dev    DevFS                    Grub
# -----------------------------------------------
#  /dev/fd0    /dev/floppy/0            (fd0)
#  /dev/hda    /dev/discs/disc0/disc    (hd0)
#  /dev/hdb2   /dev/discs/disc1/part2   (hd1,1)
#  /dev/hda3   /dev/discs/disc0/part3   (hd0,2)

Udev names are the same as "Old /dev" names, btw.

Offline

#6 2006-02-15 21:44:45

DBerest
Member
Registered: 2006-02-15
Posts: 46

Re: Booting error after post-install update [Solved]

ok, thanks to both of you... will come back with more problems when they hit me  :-)

Offline

Board footer

Powered by FluxBB