You are not logged in.

#1 2006-09-10 20:52:27

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

Lost Grub entry for Arch after an Ubuntu upgrade [solved]

Hi...

Put myself in a pickle here:
I got a dual boot, with Arch on hda and Ubuntu on hdb. Just did an upgrade of Ubuntu, and it overwrote my menu.lst, and I have lost the entry fora Arch...

Now, I am aware that it is a very dumb thing to do, but could someone point me in the right direction.. The backup entry for Arch, that I had added returns an error at boot:
kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (0,0)


The back up entry reads:

Title       Arch [back up]
root        (hd0,0)
kernel      /vmlinuz26 root=/dev/hda3 ro devfs=nomount
mkinitrd    /kernel26-fallback.img      (//also tried /kernel26fallback.img) 
savedefault
boot

I hadn't updated that entry for a while, so I am only half surprised that it is failing.

I have not yet made the switch to mkinitcpio, so mkinitrd is -still- correct.

Could someone point me to where I need to look to set it back properly?

Offline

#2 2006-09-10 21:02:23

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

Re: Lost Grub entry for Arch after an Ubuntu upgrade [solved]

kernel26-fallback.img is the fallback image generated by mkinitcpio, so it seems you have started using mkinitcpio, anyway. The main problem here, though, is that the line should read

initrd    /kernel26-fallback.img

The keyword 'initrd' is always used when configuring grub, regardless of the method used to generate the image.

Offline

#3 2006-09-10 21:55:11

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

Re: Lost Grub entry for Arch after an Ubuntu upgrade [solved]

tomk wrote:

kernel26-fallback.img is the fallback image generated by mkinitcpio, so it seems you have started using mkinitcpio, anyway. The main problem here, though, is that the line should read

initrd    /kernel26-fallback.img

The keyword 'initrd' is always used when configuring grub, regardless of the method used to generate the image.


Oops....
It resolved the issue...
I am feeling slightly stupid here, but thank you very much.....

Damien

Offline

#4 2006-09-10 22:19:42

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

Re: Lost Grub entry for Arch after an Ubuntu upgrade [solved]

Don't mention it. smile

Re Ubuntu dumping your Arch details - I don't know if they do it the same way Debian used to, but I checked menu.lst on my last remaining Debian install, and it says this:

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

(followed by copious Debian defaults, and then the actual grub config and then..)

### END DEBIAN AUTOMAGIC KERNELS LIST

the idea being that you put stuff that you want left alone either before or after that section. HTH.

Offline

#5 2006-09-11 21:42:21

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

Re: Lost Grub entry for Arch after an Ubuntu upgrade [solved]

tomk wrote:

Don't mention it. smile

Re Ubuntu dumping your Arch details - I don't know if they do it the same way Debian used to, but I checked menu.lst on my last remaining Debian install, and it says this:

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

(followed by copious Debian defaults, and then the actual grub config and then..)

### END DEBIAN AUTOMAGIC KERNELS LIST

the idea being that you put stuff that you want left alone either before or after that section. HTH.


Ahhh....
So that's were I went wrong!
Thanks for the info.

And I'll look into mkinitcpio, to know what I have(n't) done


Damien

Offline

Board footer

Powered by FluxBB