You are not logged in.

#1 2007-03-01 03:11:54

jae1227
Member
Registered: 2007-02-22
Posts: 31

Arch won't boot. Was on /dev/hda4 now on /dev/hda1

I recently use gparted to remove my Ubuntu disto and just use Arch and gentoo. This cahnged Arch from /dev/hda4 to /dev/hda1. I chnaged the menu.lst file so that it would boot Arch and Gentoo. It manages to boot Arch but does not get to far. I think I need to change a few config files from /dev/hda4 to /dev/hda1. I have tried the /ect/fstab but I think I need to change more. Hope someone can help. I really don't want to reinstall Arch.

Offline

#2 2007-03-01 06:00:18

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: Arch won't boot. Was on /dev/hda4 now on /dev/hda1

I can't thinl of anything else offhand. Could you describe your problem a bit more - how far does it get with booting, what messages do you get?

Offline

#3 2007-03-01 07:12:59

moses
Member
From: Finland
Registered: 2006-07-02
Posts: 28

Re: Arch won't boot. Was on /dev/hda4 now on /dev/hda1

Hello!

Could you post the contents of /proc/partitions
and your grub menu.lst entries.


- Judge a pig competition? But I'm no super genius... or are I?

Offline

#4 2007-03-01 07:13:34

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 684

Re: Arch won't boot. Was on /dev/hda4 now on /dev/hda1

Please post your /boot/grub/menu.lst and /etc/fstab

Offline

#5 2007-03-03 23:33:37

jae1227
Member
Registered: 2007-02-22
Posts: 31

Re: Arch won't boot. Was on /dev/hda4 now on /dev/hda1

fstab:

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

/dev/cdrom             /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd               /mnt/dvd  udf       ro,user,noauto,unhide   0      0
/dev/fd0               /mnt/fl   vfat      user,noauto             0      0

/dev/hda5 swap swap defaults 0 0
/dev/hda1 / ext3 defaults 0 1

menu.lst

default 0
timeout 30
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /boot/vmlinuz26 root=/dev/hda1 ro
initrd /boot/initrd26.img

title=Gentoo Linux
root (hd0,1)
kernel /boot/kernel-genkernel-x86-2.6.17-gentoo-r7 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda2 
initrd /boot/initramfs-genkernel-x86-2.6.17-gentoo-r7

title=Possible Windows P3
rootnoverify (hd0,2)
makeactive
chainloader +1


title=Possible Windows P1
rootnoverify (hd1,0)
makeactive
chainloader +1

Hope someone can understand this.

Last edited by jae1227 (2007-03-04 03:37:45)

Offline

#6 2007-03-04 01:36:40

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 684

Re: Arch won't boot. Was on /dev/hda4 now on /dev/hda1

Your menu.lst has incorrect values.

Replace "kernel /boot/vmlinuz26 root=/dev/hda4 ro" with "kernel /boot/vmlinuz26 root=/dev/hda1 ro", since your root file system is on hda1 (see fstab).

Also, I _think_ "initrd /boot/initrd26.img" is outdated, it should be "initrd /boot/kernel26.img".

Offline

#7 2007-03-04 03:39:07

jae1227
Member
Registered: 2007-02-22
Posts: 31

Re: Arch won't boot. Was on /dev/hda4 now on /dev/hda1

yeah that work! Your really know your stuff mutlu_inek. The problem was the kernel root=/dev/hda4 not hda1. I already had changed the fstab.

Offline

Board footer

Powered by FluxBB