You are not logged in.

#1 2009-10-27 21:29:27

goro
Member
Registered: 2009-10-27
Posts: 7

just instaled but...

hi!
got debian and gparted show me that arch is instaled but don't see the root(/) on mount point is that correct?
http://i38.tinypic.com/10onsow.png

also i can't boot into arch(got this error on grub):

booting arch
root    (hd0,0)
         filesystem type is ext2fs partition type 0x83
kernel    /boot/vmlinuz26 root=/dev/sda1 ro

ERROR 15: FILE NOT FOUND

press any key to continue...

Offline

#2 2009-10-27 21:34:51

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: just instaled but...

Are you in a Debian installation? If that is the case, it doesn't show Arch's root as mounted on / because Debian's root is. Also, since you have hda instead of sda, which you have the root set to in your GRUB line. I know GRUB uses the (hd0,0) thing, but I'm pretty sure that the root should still be correct for the initial stage of booting after that... Somebody else will be more knowledgable, I'm sure smile

Offline

#3 2009-10-27 21:51:04

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

Re: just instaled but...

Your grub root line should read (hd0,2).  You can change that by pressing e(dit) in grub.

edit: confusing. what is this screenshot taken from? did you install arch root on hda6 and arch home on hda7? Please post your menu.lst entry for arch.

Last edited by hokasch (2009-10-27 22:01:01)

Offline

#4 2009-10-27 22:06:18

goro
Member
Registered: 2009-10-27
Posts: 7

Re: just instaled but...

hokasch wrote:

Your grub root line should read (hd0,2).  You can change that by pressing e(dit) in grub.

edit: confusing. what is this screenshot taken from? did you install arch root on hda6 and arch home on hda7?

thanks for answering...

that screenshot was taken from debian,i instaled arch on HDA1 , hda6[/] and hda7[home] are debian instalations...

i didn't install grub on arch...

Last edited by goro (2009-10-27 22:18:59)

Offline

#5 2009-10-27 22:54:10

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

Re: just instaled but...

Ah, ok. 
Weird, hd (0,0) sounds good to me in that case, and you should be able to boot arch from your debian's grub.  Maybe mount hda1 in debian and double-check vmlinuz26 is in /boot/ there?
Another tip: press c in grub screen for grub-console, and enter "find /boot/vmlinuz". This should output two device names, one for the arch and one for the debian kernel.

Last edited by hokasch (2009-10-27 23:04:33)

Offline

#6 2009-10-27 23:12:19

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: just instaled but...

Also, have you tried changing the "root=/dev/sda1" in your kernel line to "root=/dev/hda1"? It does matter, hdx is for IDE hard drives, what it is currently set to is if you had a SATA hard drive, right? I'm pretty sure that you want that line to read:
kernel    /boot/vmlinuz26 root=/dev/hda1 ro

Offline

#7 2009-10-27 23:17:31

goro
Member
Registered: 2009-10-27
Posts: 7

Re: just instaled but...

some of the grub menu  lst:

# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title           Debian GNU/Linux, kernel 2.6.30-1-686
root            (hd0,5)
kernel          /boot/vmlinuz-2.6.30-1-686 root=/dev/hda6 ro
initrd          /boot/initrd.img-2.6.30-1-686

title           Debian GNU/Linux, kernel 2.6.30-1-686 (single-user mode)
root            (hd0,5)
kernel          /boot/vmlinuz-2.6.30-1-686 root=/dev/hda6 ro single
initrd          /boot/initrd.img-2.6.30-1-686

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title           Other operating systems:
root


# This entry automatically added by the Debian installer


title            arch
root             (hd0,0)
kernel           /boot/vmlinuz26 root=/dev/sda1 ro
initrd           /boot/kenel26.img

Last edited by goro (2009-10-27 23:19:21)

Offline

#8 2009-10-27 23:19:36

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: just instaled but...

In that, Debian definitely has root set to use hda, not sda as your Arch entry has. I that's the only thing that I see as different, that shouldn't be at least.

Edit: Looked at mine, and it looks fine except for tha sda/hda thing...

Last edited by jac (2009-10-27 23:20:08)

Offline

#9 2009-10-27 23:25:10

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

Re: just instaled but...

What do my eyes see?

initrd           /boot/kenel26.img

What pretty skin for a hobbit!


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

Offline

#10 2009-10-27 23:33:53

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

Re: just instaled but...

hehe...

Ok, after fixing the typo you should think about using a persistant block device name in your kernel line.

Offline

#11 2009-10-28 00:25:04

goro
Member
Registered: 2009-10-27
Posts: 7

Re: just instaled but...

the problem persists: fixed 'sda/hda' and '/boot/kenel26.img' and the same thing...
do u need some specific data?
does ext4 has something to see?

fdisk -l :  qn4c5i.png
blkid:    2mg9jyw.png

Last edited by goro (2009-10-28 00:56:50)

Offline

#12 2009-10-28 00:55:22

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

Re: just instaled but...

Arch's grub can boot from ext4, but since you have one from debian, well, depends on if it has been patched...
You may try appending "rootfstype=ext4" to the kernel line:

kernel           /boot/vmlinuz26 root=/dev/sda1 ro rootfstype=ext4

But with all this trouble, I would anyway suggest to either reinstall grub, or install grub to your arch partition and chainload it. More info here.

Offline

#13 2009-10-28 01:44:59

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

Re: just instaled but...

goro wrote:

the problem persists: fixed 'sda/hda' and '/boot/kenel26.img' and the same thing...
do u need some specific data?

Are you getting the same error or a different? ERROR 15 is a grub error when it can not find the file specified. When you attempt to boot up arch, please try to write down the exact message you see on the screen and post that here.

does ext4 has something to see?

goro, are you using Debian's grub? Can you tell us which version?


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

Offline

#14 2009-10-28 01:55:24

goro
Member
Registered: 2009-10-27
Posts: 7

Re: just instaled but...

yep!  got debian's grub [0.97-59] : http://i35.tinypic.com/24yvgu8.png

next boot i'll do what u say...;)

Last edited by goro (2009-10-28 01:56:41)

Offline

#15 2009-10-28 02:20:30

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

Re: just instaled but...

goro wrote:

yep!  got debian's grub [0.97-59] : http://i35.tinypic.com/24yvgu8.png

next boot i'll do what u say...;)

Judging by that picture, it seems you are either using Lenny with Squeeze pinned or you are using Squeeze proper. (Please do clarify as this problem seems to encompass two or more distros.)

From what I'm told grub-legacy may not support ext4 however it possibly could treat it as ext3 and grab the files.


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

Offline

#16 2009-10-28 02:29:34

goro
Member
Registered: 2009-10-27
Posts: 7

Re: just instaled but...

fsckd wrote:

Squeeze proper

GOT IT! do u think installing grub2 may solve the problem?

Offline

#17 2009-10-28 02:34:18

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

Re: just instaled but...

I have no idea. You may want to ask the good folks on irc.debian.org#debian whom I've been pestering for the last half hour. ^^ This is the ArchLinux forum and that sounds like a Debian question. wink


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

Offline

#18 2009-10-28 09:14:57

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

Re: just instaled but...

Did you try rootfstype=ext4 already? If this doesn't help, just re-install normal (legacy) grub from arch, or chainloading - see my post above, and the Wiki for grub.

Chainloading:

1) install grub (from arch) to sda1: hd(0,0)
2) grub from debian is in the mbr, so it gets loaded on boot. use this in menu.lst on debian install (sda6):

title Arch Linux
root (hd0,0)
chainloader +1

3) Now newly installed grub on arch partition boots. Use this on arch's grub menu.lst (sda1):

title            arch
root           (hd0,0)
kernel        /boot/vmlinuz26 root=/dev/sda1 ro
initrd          /boot/kernel26.img

Last edited by hokasch (2009-10-28 09:26:17)

Offline

#19 2009-10-28 14:02:01

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: just instaled but...

One thing none of you seem to think of (maybe you just aint distro-hopping enough?) is that one distro might see i disk as /dev/hda and another as /dev/sda - it all depends whether or not you enable the scsi-emulation for ide-drives (sata-drives _should_ all be /dev/sda).
Thus, debian might use /dev/hda and archlinux /dev/sda - there is nothing strange about that.
Also - as far as grub is concerned, it doesn't matter what it is - for grub it will always be (hd0,X).

Your menu.lst looks suspect to me - but not knowing which partition you installed arch on doesn't help much (sorry, I cannot see the screenshot you posted). Let us assume you put it all on /dev/sda3 ((hd0,2) above would seem to indicate this) - if you did not also use a seperate boot-partition, then your menu.lst for arch should be

title archlinux
  root (hd0,2)
  kernel /boot/vmlinuz26 ro root=/dev/sda3
  initrd /boot/kernel26.img

However - if you _do_ have a seperate boot partition for arch (say on (hd0,1)), then your menu.lst becomes:

title archlinux
  root (hd0,1)
  kernel /vmlinuz26 ro root=/dev/sda3
  initrd /kernel26.img

Infact - by far the easiest way to deal with multi-booting is to have /boot as part of the root filesystem partition and and install grub on that partition. In your seperate boot-partition, then all you need to do is chainload - so your (hd0,0)/grub/menu.lst should be like this:

title archlinux
  root (hd0,2)
  chainloader +1

Last edited by perbh (2009-10-28 14:06:43)

Offline

#20 2009-10-28 14:31:32

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

Re: just instaled but...

Help appreciated, but please don't make it more confusing than it already is. The OP stated lots of information you "guessed" here, e.g. no seperate boot partition, arch is on sda1, s/hda1 is not the problem at the moment cause it works with neither,  debians grub menu.lst is on /dev/sda6...
My best guess is that debian's grub in the mbr can simply not boot from ext4, and this will be fixed by installing grub from arch to (hd0,0) and chainloading.
Unless, do you have additional sata-disks in your machine, goro?
And, unless you actually never tried it with sda1 after fixing the kenel-typo...

Last edited by hokasch (2009-10-28 14:38:20)

Offline

#21 2009-10-28 15:02:38

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

Re: just instaled but...

goro wrote:
fsckd wrote:

Squeeze proper

GOT IT! do u think installing grub2 may solve the problem?

Grub2 does support ext4. Install it if you want to or try the chainloading suggestion by hokasch.


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

Offline

#22 2009-10-28 16:56:05

goro
Member
Registered: 2009-10-27
Posts: 7

Re: just instaled but...

hi folks! i'm going to reinstall but need some tip(s) to do it right...most of all about the section grub on arch...

Offline

Board footer

Powered by FluxBB