You are not logged in.
Pages: 1
Hi,
so now I know that trying to remove a directory that contains a mounted partition will give an error but still delete everything from that partition.
I deleted everything on /boot partition and cannot boot arch. How can I re-install the kernel, grub, and whatever else was on there? I had /boot on sda3 and sda4 was the encrypted / partition.
I hope this is not too complicated. Please?
kilolima
Offline
Hi.
This is what I would try: chroot into my Arch install following this guide here: http://wiki.archlinux.org/index.php/Kernel_Panics, then reinstall the kernel (kernel26) and grub.
If you can't bring your network up for some reason, you can always cd /var/cache/pacman/pkg/ and
pacman -U <pkgname>
Offline
If you use a boot partition, don't forget to mount it
# mount /dev/sdXZ /mnt/boot
I am no genius, but didn't he delete his /boot partition?
Offline
chroot into your Arch partition from a live distribution and pacman -S grub kernel26.
Offline
chroot into your Arch partition from a live distribution and pacman -S grub kernel26.
Isn't that only the 1st page of the novel??
He cannot boot ANY liveCD and exepct it to work out-of-the box.
Surely he will need to ensure that:
the necessary root partition and kernel options are supplied in the bootloader,
the correct initrd image is installed,
the correct system map (and modules are installed),
grub or lilo verified.
No information was provided as to the install options when he installed Arch and whether he's modified the system/hardware (disk) configs.
Offline
novel?! egads.
The only custom option I used when installing was booting from encrypted partitions, since the root partition is encrypted. I did try booting from a live-cd and got a kernel panic.
Is it easier to re-install arch? (again)
cheers,
kilolima
Offline
Is it easier to re-install arch? (again)
If it were me, that's what I'd do.
oz
Offline
[duncan@myhost ~]$ cd /boot
[duncan@myhost boot]$ dir
diag1.img grub kernel26-fallback.img kernel26.img System.map26 vmlinuz26
[duncan@myhost boot]$ cd ./grub
[duncan@myhost grub]$ dir
device.map iso9660_stage1_5 reiserfs_stage1_5 ufs2_stage1_5
e2fs_stage1_5 jfs_stage1_5 stage1 vstafs_stage1_5
fat_stage1_5 menu.lst stage2 xfs_stage1_5
ffs_stage1_5 minix_stage1_5 stage2_eltorito
[duncan@myhost grub]$
If it helps.
Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.
Offline
Pages: 1