You are not logged in.

#1 2010-06-30 20:34:45

Ordinary Rabbit
Member
Registered: 2010-06-30
Posts: 3

Nothing in /boot

Hi folks. I've recently started mucking about with Arch and apart from the masses of configuration involved I quite like it. (I like 'the Arch way' but only when its not demanding any work from me tongue )
I think I've broken it now though, as there isn't anything in /boot and I suspect that is why I can't start Arch anymore.

Arch had been running fine on its own, but I decided it needed some friends and set about triple booting with Ubuntu and Windows 7.
The disk had Grub, Arch and /home partitions. Gparted told me that I couldn't have 4 primary partitions so I deleted the Grub partition to allow me to create an extended partition to house Ubuntu and Windows partitions. I have since installed Ubuntu(and grub) but can't set up grub to see Arch because there isn't anything in /boot to point to sad

I haven't got any backups roll do you reckon I could copy the files from a install CD (or another Arch installation)?

Thanks in advance for your help!

Offline

#2 2010-06-30 21:05:39

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Nothing in /boot

You'll have to reinstall some packages, namely any kernels you had. You can use pacman's -r option when booting from Arch's install image (which I'm told doubles as a live cd). Man page says, "-r, --root <'path'>  Specify an alternative installation root (default is '/')."


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2010-06-30 21:09:05

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Nothing in /boot

Yep, you deleted your kernels and boot images. Good news is, easy to recover.

Boot off a live CD, mount up your Arch related partitions, and run 'pacman -r /mnt/ -S kernel26' (assuming that you mounted the root of your Arch install on /mnt).

Offline

#4 2010-06-30 22:50:51

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Nothing in /boot

after that, remove the boot partition from arch's fstab, and point Ubuntu's grub2 to kernel & initrd on archs' root partition (you have to configure that in Ubuntu, there are examples in the [wiki]Grub2[/wiki]).

Offline

#5 2010-06-30 22:55:13

michy99
Member
Registered: 2010-01-23
Posts: 21

Re: Nothing in /boot

Actually, once you reinstall your kernel, Ubuntu should find it automatically when you run update-grub.

Offline

#6 2010-06-30 23:28:52

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Nothing in /boot

ah alright - didn't know grub2 does this...

Offline

#7 2010-07-01 18:42:24

Ordinary Rabbit
Member
Registered: 2010-06-30
Posts: 3

Re: Nothing in /boot

I did 'pacman -r /mnt/ -S kernel26'  but it appears to be downgrading it from 2.6.34 to 2.6.33 and my nvidia drivers require kernel => 2.6.34 so it crashes before anything happens.

Would I be able to download kernel 2.6.33 or do I need a more recent live CD?

Thanks your help!

Offline

#8 2010-07-01 18:44:53

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Nothing in /boot

Well if you downgrade your kernel, you will also need to downgrade the nvidia drivers which were modified to support the newer kernel.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#9 2010-07-01 18:51:55

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Nothing in /boot

I guess you could download the 2.6.34 package and install it with -Ur, or run a -Syu first, but I think Chrooting would be better.

Last edited by hokasch (2010-07-01 18:54:45)

Offline

#10 2010-07-03 17:30:15

Ordinary Rabbit
Member
Registered: 2010-06-30
Posts: 3

Re: Nothing in /boot

Thanks for the advice folks. Running -Syu didn't work (can't remember the error, will retry later). I don't know much about Chrooting, but wouldn't that still break the nvidia drivers?
How would I download and install the 2.6.34 package? I'm still fairly noobish as far as the command line is concerned ( the only other distro I've used is Ubuntu so there wasn't much to be done in the terminal).

Offline

Board footer

Powered by FluxBB