You are not logged in.

#1 2005-10-16 07:20:58

Danny
Member
From: Croatia
Registered: 2005-06-05
Posts: 64
Website

Pacman -Syu from a base install... [fixed]

I'm getting this when I try a pacman -Syu after a fresh install from a cd.

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

So.. what now? :oops: Trying to get back into Arch and learn it a bit more until I get my laptop for it, bad start I guess. :evil:


I am a leaf on the wind. Watch how I soar.

Offline

#2 2005-10-16 07:24:49

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Pacman -Syu from a base install... [fixed]

force it manually, this is a known issue..

either pacman -R grub then pacmam -Syu
or pacman -Sf grub pacman --Syu
or just pacman -Syuf

but this will force any other that pop up too which may or maynoe be a good thing...
done forget to migrate to udev either before you reboot..

Offline

#3 2005-10-16 07:43:47

Danny
Member
From: Croatia
Registered: 2005-06-05
Posts: 64
Website

Re: Pacman -Syu from a base install... [fixed]

Hmm ok, how can I check if I'm on udev?

When installing I added the devfs=nomount on grub, and I removed the devfsd package from installing. Is that enough?


I am a leaf on the wind. Watch how I soar.

Offline

#4 2005-10-16 07:47:06

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Pacman -Syu from a base install... [fixed]

that should do it smile..

Offline

#5 2005-10-16 07:53:36

Danny
Member
From: Croatia
Registered: 2005-06-05
Posts: 64
Website

Re: Pacman -Syu from a base install... [fixed]

Aight thanks, I'll try it out again in a few mins. wink


I am a leaf on the wind. Watch how I soar.

Offline

#6 2005-10-16 08:18:09

Danny
Member
From: Croatia
Registered: 2005-06-05
Posts: 64
Website

Re: Pacman -Syu from a base install... [fixed]

Ok I've screwed up now. roll

I did a pacman -R grub, but forgot to put the old grub config back in. So.. erm, now when I boot grub just gives me that basic command line and sits there.

How can I boot up now and put the old config back in? I don't even know where it is, and even if I knew I've got no idea what the command is to move it from one place to another. :?

Gah I hate it when I'm a noob at things. :oops:


I am a leaf on the wind. Watch how I soar.

Offline

#7 2005-10-16 08:37:02

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Pacman -Syu from a base install... [fixed]

Lord Death wrote:

Ok I've screwed up now. roll

Bad thing wink
If you're able to input commands into grub, using the edit option, you can manually enter the line to boot (normal options you normally put in menu.lst), press enter, and you should be fine. Make sure you put menu.lst back into place before reboot tongue

Other option is chrooting into the system from the livecd and put the menu.lst file in its place
[edit] just mounting should be enough actually [edit]

So not that bad after all tongue

Offline

#8 2005-10-16 08:39:59

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Pacman -Syu from a base install... [fixed]

yeah press e to edit....

kernel /boot/vmlinuz26 /dev/*your root part** ro

press enter .. voila

then edit /boot/grub/menu.lst

Offline

#9 2005-10-16 08:41:56

Danny
Member
From: Croatia
Registered: 2005-06-05
Posts: 64
Website

Re: Pacman -Syu from a base install... [fixed]

Ok I'll give it a try, so I just put that line which I use to boot into menu.lst and it should work next time?


I am a leaf on the wind. Watch how I soar.

Offline

#10 2005-10-16 08:48:27

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Pacman -Syu from a base install... [fixed]

Lord Death wrote:

Ok I'll give it a try, so I just put that line which I use to boot into menu.lst and it should work next time?

yes, just putting the entry back in

Offline

#11 2005-10-16 08:51:18

Danny
Member
From: Croatia
Registered: 2005-06-05
Posts: 64
Website

Re: Pacman -Syu from a base install... [fixed]

Aight off I go again, bleh starting to hate dual booting. tongue


I am a leaf on the wind. Watch how I soar.

Offline

#12 2005-10-16 09:03:02

Danny
Member
From: Croatia
Registered: 2005-06-05
Posts: 64
Website

Re: Pacman -Syu from a base install... [fixed]

Ok I give up. Got a kernel panic now. I've got a specific hdd setup so I've got to change something in the bios every time I boot Linux and then for windows change it back. Taking to much time to reboot every time and then go back to solve a prob. :evil: I'll wait until I've got my laptop, then it shouldn't be a prob.

Thanks for the help guys though, I've wrote it all down for the next time I screw up. :oops:


I am a leaf on the wind. Watch how I soar.

Offline

#13 2005-10-16 09:09:22

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Pacman -Syu from a base install... [fixed]

why do you need tomake a change bios?

do you have two seperate disks?

you can still dual boot from grub...
post your setup and I'll try wrinting a menu.lst for it...

Offline

#14 2005-10-16 09:12:44

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Pacman -Syu from a base install... [fixed]

Lord Death wrote:

Ok I give up. Got a kernel panic now. I've got a specific hdd setup so I've got to change something in the bios every time I boot Linux and then for windows change it back. Taking to much time to reboot every time and then go back to solve a prob. :evil: I'll wait until I've got my laptop, then it shouldn't be a prob.

Thanks for the help guys though, I've wrote it all down for the next time I screw up. :oops:

did you use a devfs mine or a udev line

iu root=/dev/discs/too/sodding/long

or root=/dev/hdX

where X is your mountpoint
if its sata it should be sdX

Offline

#15 2005-10-16 09:14:13

Danny
Member
From: Croatia
Registered: 2005-06-05
Posts: 64
Website

Re: Pacman -Syu from a base install... [fixed]

Nah I'm booting windows off a normal IDE hdd, and a lot of apps and stuff are on a SCSI hdd. For Linux I've got to shut down, pull out the SCSI hdd with all the apps and put in a SCSI hdd where Arch is.

So basically you can't do anything because if i boot windows without the SCSI hdd where all the apps are things get screwed. And I've got to change the BIOS to tell it to boot from SCSI instead of IDE for Linux and then reverse for windows.

Kinda complicated i know.. I'l just wait for my laptop. tongue


I am a leaf on the wind. Watch how I soar.

Offline

#16 2005-10-16 09:35:59

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Pacman -Syu from a base install... [fixed]

cant you leave all the  drives in?
you should be able to map a working grub if its installed on the mbr of the ide disk

Offline

#17 2005-10-16 09:51:15

Danny
Member
From: Croatia
Registered: 2005-06-05
Posts: 64
Website

Re: Pacman -Syu from a base install... [fixed]

Nope I'm taking the Linux hdd with me to another place all the time because I've got some other data on it as well. Like i said, complicated. lol I'll get my laptop next month, should've been here this month but they're late so then I'll give it a try again. wink


I am a leaf on the wind. Watch how I soar.

Offline

#18 2005-10-16 10:13:32

Danny
Member
From: Croatia
Registered: 2005-06-05
Posts: 64
Website

Re: Pacman -Syu from a base install... [fixed]

Oh and regarding that error, when I boot it up manually with:

kernel /boot/vmlinuz26 /dev/discs/disc0/part2
boot

it starts out good but somewhere in the middle I get this:

Warning: Unable to open a initial console.
Kernel panic - not syncing: No init found. Try passing init= option to kernel.

Maybe if I can fix that and get xfce up and running I wouldn't have to switch to windows for solving stuff all the time. roll


I am a leaf on the wind. Watch how I soar.

Offline

#19 2005-10-16 15:17:24

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: Pacman -Syu from a base install... [fixed]

It could possibly be the DevFS path that you've listed, like mpie said, maybe try the Udev version of the path.

Offline

#20 2005-10-16 15:33:30

Danny
Member
From: Croatia
Registered: 2005-06-05
Posts: 64
Website

Re: Pacman -Syu from a base install... [fixed]

And how does the udev path looks like? :oops:


I am a leaf on the wind. Watch how I soar.

Offline

#21 2005-10-16 15:55:51

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Pacman -Syu from a base install... [fixed]

take a look here for information on udev and bootparameters for udev

Offline

#22 2005-10-16 17:17:58

Danny
Member
From: Croatia
Registered: 2005-06-05
Posts: 64
Website

Re: Pacman -Syu from a base install... [fixed]

Nope it's not working. Tried to boot it up with the Arch CD and tried this as described in the wiki:

WARNING: Unable to open an initial console

If your kernel hangs during bootup with

WARNING: Unable to open an initial console
grab the ArchLinux installation CD and boot using it
mount your root partition (example: "mount /dev/discs/disc0/part3 /mnt")
chroot to the newly mounted dir (example: "chroot /mnt")
create missing static nodes in /dev with:

cd /dev
mknod -m 660 console c 5 1
mknod -m 660 null c 1 3

These nodes are required for starting Udev. You might have both/only one of them/none missing.

But it said that console and null already exist. Grub throws me the error with /dev/hda1 as well, instead of the other formating. :cry:

Well.. kinda lost now. roll


I am a leaf on the wind. Watch how I soar.

Offline

#23 2005-10-16 17:49:30

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Pacman -Syu from a base install... [fixed]

what kernel are you currently trying to load? and what option do you specify to grub?
Me thinking that there must be an error with the grub command you use

Offline

#24 2005-10-16 18:08:21

Danny
Member
From: Croatia
Registered: 2005-06-05
Posts: 64
Website

Re: Pacman -Syu from a base install... [fixed]

The command is a few posts above..

kernel /boot/vmlinuz26 /dev/discs/disc0/part2
boot

I guess I'm using the latest kernel in the repos? I did a pacman -Syu which updated it all.


I am a leaf on the wind. Watch how I soar.

Offline

#25 2005-10-16 18:18:42

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Pacman -Syu from a base install... [fixed]

Ah okay. Here is the problem. You enter devfs notation into grub, which is not supported anymore in the new kernel version you got after upgrade. So this is what you need to enter if not using a sata harddisk (which you do not have I guess):

root(hd0,1)
kernel /boot/vmlinuz root=/dev/hda2 ro devfs=nomount

Dunno if the first part 'root(hd0,1)' quite needed. Think you can skip that part, but I'm not completely sure . :oops:

Offline

Board footer

Powered by FluxBB