Discussion:
Aurora with no LVM - not booting
p***@bb.com.br
2008-07-03 13:55:01 UTC
Permalink
Hi folks,

I first installed Aurora 2.99 (corona) in my Ultra-10 and it
worked very well.
After that I, reinstalled my Ultra-10 with Debian Sparc and I
redimensioned the whole disk to not use LVM. The geometry is right now as
follows:

***@localhost:~$ sudo fdisk -l /dev/hda
Disk /dev/hda (Sun disk label): 255 heads, 63 sectors, 9729 cylinders
Units = cylinders of 16065 * 512 bytes

Device Flag Start End Blocks Id System
/dev/hda2 0 1337 10739452+ 1 Boot
/dev/hda3 1337 1586 2000092+ 82 Linux swap
/dev/hda4 1586 2923 10739452+ 83 Linux native
/dev/hda5 2923 9729 54669195 83 Linux native

The /dev/hda2 is the Aurora 2.99 partition and the Debian root is
mounted at /dev/hda4.
I managed to install Aurora. However, now I am not able to
complete boot it.
By complete boot it I mean, the Aurora starts booting since my
/etc/silo.conf (in the Debian patition) states the following:
***@localhost:~$ cat /boot/silo.conf
root=/dev/hda4
partition=4
default=Linux
read-only
timeout=100

image=/boot/vmlinuz
label=Linux
initrd=/boot/initrd.img
image=/boot/vmlinuz.old
label=LinuxOLD
initrd=/boot/initrd.img.old
image=/boot/vmlinuz.aurora
label=aurora1
initrd=/boot/initrd.img.aurora
root=/dev/sda2
image=/boot/vmlinuz.aurora
label=aurora2
initrd=/boot/initrd-aurora.img
root=/dev/sda2

The Aurora stops booting at the step it tries to mount the
filesystems showing the message:

Welcome to Aurora SPARC Linux
Press 'I' to enter interactive startup
Setting clock .... [ OK ]
Loading default keymap .... [ OK ]
Setting hostname .... [ OK ]
No devices found
Setting up Logical Volume Management: No volume groups found
[ OK ]
Checking filesystems
fsck.ext3: Device or resource busy while trying to open /dev/sda
Filesystem mounted or opened exclusively by another program?
[FAILED]
*** An error occured during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
*** Warning -- SELinux is active
.... sniped

My /etc/fstab, for Aurora, looks like this:
***@localhost:~$ cat /media/aurora/etc/fstab
LABEL=/ / ext3 defaults 1
1
devpts /dev/pts devpts gid=5,mode=620 0
0
tmpfs /dev/shm tmpfs defaults 0
0
LABEL=/media/sda5 /media/dados ext3 defaults 1
2
LABEL=/media/debian /media/debian ext3 defaults 1
2
proc /proc proc defaults 0
0
sysfs /sys sysfs defaults 0
0
/dev/sda3 swap swap defaults 0
0

I have two Aurora labels, at the silo.conf, because for the second
one (aurora2) I generated a new initrd.img using mkinitrd, from the
Debian, in a hope to the new Aurora initrd.img does not comply about LVM.
The first Aurora label uses the original initrd.img that is filled at the
installation stage.
It does not matter which one I try booting (aurora1 or aurora2),
they both failed with the exactly same message above.
Googling a little I could find a similar problem here, but no
solution:
http://www.fedoraforum.org/forum/archive/index.php/t-139931.html

Any hints?

Thank you in advance.
---------------------------------------------------------
Ulisses de Sousa Penna
Analista de TI - Banco do Brasil
Fone: +55-61-3310-6320
---------------------------------------------------------

Loading...