Hi, I installed Sarge on the /dev/sda1 only.
After, I created the raid1: #fdisk /dev/sda : Disk /dev/sda (Sun disk label): 64 heads, 32 sectors, 17274 cylinders Units = cylinders of 2048 * 512 bytes Device Flag Start End Blocks Id System /dev/sda1 0 954 976896 83 Linux native /dev/sda2 954 17274 16711680 fd Linux raid autodetect /dev/sda3 0 17274 17688576 5 Whole disk #fdisk /dev/sdb: Disk /dev/sdb (Sun disk label): 19 heads, 248 sectors, 7508 cylinders Units = cylinders of 4712 * 512 bytes Device Flag Start End Blocks Id System /dev/sdb1 u 0 415 977740 82 Linux swap /dev/sdb2 415 7508 16711108 fd Linux raid autodetect /dev/sdb3 0 7508 17688848 5 Whole disk #mdadm --create /dev/md0 --level 1 --raid-devices=2 /dev/sda2 /dev/sdb2 #cat /proc/mdstat : Personalities : [raid1] md0 : active raid1 sda2[0] sdb2[1] 16711040 blocks [2/2] [UU] unused devices: <none> #mdadm --detail --scan >> /etc/mdadm/mdadm.conf #mkfs.ext3 /dev/md0 #mount /dev/md0 /mnt/md0 #mount /dev/sda1 /mnt/sda1 #rsync -a /mnt/sda1 /mnt/md0 #chroot /mnt/md0 #vi /etc/silo.conf: partition=1 default=Linux read-only timeout=100 image=/boot/vmlinuz root=/dev/sda1 label=Linux initrd=/boot/initrd.img image=/boot/vmlinuz append="md=0,/dev/sda2,/dev/sdb2" root=/dev/md0 label=LinuxRaid initrd=/boot/initrd.img #vi /etc/fstab: # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/sdb1 none swap sw 0 0 /dev/md0 / ext3 defaults,errors=remount-ro 0 1 /dev/scd0 /media/cdrom0 iso9660 ro,user,noauto 0 0 #silo #exit #umount /mnt #reboot And I have the message with kernel-image-2.6.8-sparc64-SMP: SCSI device sda: 35378533 512-byte hdwr sectors (18114 MB) SCSI device sda: drive cache: write through /dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 SCSI device sdb: 35378533 512-byte hdwr sectors (18114 MB) SCSI device sdb: drive cache: write through /dev/scsi/host0/bus0/target1/lun0: p1 p2 p3 Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0 sr0: scsi3-mmc drive: 12x/12x xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.20 pKernel panic: Attempted to kill init! <0>Press L1-A to return to the boot prom ivot_root: No such file or directory /sbin/init: 432: cannot open dev/console: No such file What's the problem ? -- Cordialement, Sébastien LANGE _(__)_ Secrétaire d'Ornix '-e e -'__,--.__) (°> Groupe d'utilisateur (o_o) ) //\ des logiciels libres \. /___. | V_/_ dans l'Orne ||| )/ )/ http://ornix.org //_(/_(/_( Registered Linux-User #313144
Sun Ultra 80 UPA/PCI (4 X UltraSPARC-II 450MHz), No Keyboard OpenBoot 3.23, 2048 MB memory installed. Boot device: /[EMAIL PROTECTED],4000/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:a File and args: SILO Version 1.4.9 boot: LinuxRaid Allocated 8 Megs of memory at 0x40000000 for kernel Uncompressing image... Loaded kernel version 2.6.8 Loading initial ramdisk (3194880 bytes at 0xC00000 phys, 0x40C00000 virt)... Remapping the kernel... done. Booting Linux.. PROMLIB: Sun IEEE Boot Prom 3.23.0 1999/06/30 13:53 Linux version 2.6.8-2-sparc64 ([EMAIL PROTECTED]) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Wed Mar 23 04:23:37 EST 2005 ARCH: SUN4U Ethernet address: 08:00:20:f0:0b:51 Built 1 zonelists Kernel command line: root=/dev/md0 ro md=0,/dev/sda2,/dev/sdb2 PID hash table entries: 4096 (order 12: 65536 bytes) Console: colour dummy device 80x25 Dentry cache hash table entries: 262144 (order: 8, 2097152 bytes) Inode-cache hash table entries: 131072 (order: 7, 1048576 bytes) Memory: 2071680k available (1992k kernel code, 600k data, 152k init) [fffff80000000000,000000007ff02000] Calibrating delay loop... 897.02 BogoMIPS Mount-cache hash table entries: 512 (order: 0, 8192 bytes) checking if image is initramfs...it isn't (ungzip failed); looks like an initrd Freeing initrd memory: 3120k freed NET: Registered protocol family 16 PCI: Probing for controllers. PCI: Found PSYCHO, control regs at 000001fe00000000 PSYCHO: Shared PCI config space at 000001fe01000000 PCI-IRQ: Routing bus[ 0] slot[ 1] map[0] to INO[21] PCI-IRQ: Routing bus[ 0] slot[ 2] map[0] to INO[10] PCI-IRQ: Routing bus[ 0] slot[ 3] map[0] to INO[20] PCI-IRQ: Routing bus[ 0] slot[ 3] map[0] to INO[26] PCI-IRQ: Routing bus[ 0] slot[ 4] map[0] to INO[18] PCI0(PBMB): Bus running at 33MHz PCI-IRQ: Routing bus[80] slot[ 1] map[0] to INO[00] PCI0(PBMA): Bus running at 33MHz ebus0: [auxio] [power] [SUNW,pll] [sc] [se] [su] [su] [ecpp] [fdthree] [eeprom] [flashprom] [SUNW,CS4231] power: Control reg at 000001fff1724000 ... powerd running. usbcore: registered new driver usbfs usbcore: registered new driver hub VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 8192 bytes) devfs: 2004-01-31 Richard Gooch ([EMAIL PROTECTED]) devfs: boot_options: 0x0 Initializing Cryptographic API Console: switching to mono PROM 80x34 rtc_init: no PC rtc found su0 at 0x000001fff13062f8 (irq = 4,7ea) is a 16550A su1 at 0x000001fff13083f8 (irq = 9,7e9) is a 16550A ttyS0 at MMIO 0x1fff1400000 (irq = 7125984) is a SAB82532 V3.2 ttyS1 at MMIO 0x1fff1400040 (irq = 7125984) is a SAB82532 V3.2 Console: ttyS0 (SAB82532) Using anticipatory io scheduler RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize loop: loaded (max 8 devices) Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.0:USB HID core driver mice: PS/2 mouse device common for all mice input: Sun Mouse on su/serio0 NET: Registered protocol family 2 IP: routing cache hash table of 32768 buckets, 256Kbytes TCP: Hash tables configured (established 1048576 bind 65536) NET: Registered protocol family 1 NET: Registered protocol family 17 RAMDISK: cramfs filesystem found at block 0 RAMDISK: Loading 3120 blocks [1 disk] into ram disk...done. VFS: Mounted root (cramfs filesystem) readonly.þinitrd-tools: 0.1.81.1 SCSI subsystem initialized sym0: <875> rev 0x14 at pci 0001:00:03.0 irq 4,7e0 sym0: No NVRAM, ID 7, Fast-20, SE, parity checking sym0: SCSI BUS has been reset. scsi0 : sym-2.1.18j Vendor: SEAGATE Model: ST318404LSUN18G Rev: 4207 Type: Direct-Access ANSI SCSI revision: 03 sym0:0:0: tagged command queuing enabled, command queue depth 16. scsi(0:0:0:0): Beginning Domain Validation sym0:0: wide asynchronous. sym0:0: FAST-20 WIDE SCSI 40.0 MB/s ST (50.0 ns, offset 16) scsi(0:0:0:0): Ending Domain Validation Vendor: FUJITSU Model: MAJ3182M SUN18G Rev: 0804 Type: Direct-Access ANSI SCSI revision: 02 sym0:1:0: tagged command queuing enabled, command queue depth 16. scsi(0:0:1:0): Beginning Domain Validation sym0:1: wide asynchronous. sym0:1: FAST-20 WIDE SCSI 40.0 MB/s ST (50.0 ns, offset 16) scsi(0:0:1:0): Ending Domain Validation Vendor: PIONEER Model: CD-ROM DR-U12X Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 scsi(0:0:6:0): Beginning Domain Validation sym0:6: FAST-10 SCSI 10.0 MB/s ST (100.0 ns, offset 15) scsi(0:0:6:0): Domain Validation skipping write tests scsi(0:0:6:0): Ending Domain Validation sym1: <875> rev 0x14 at pci 0001:00:03.1 irq 4,7e6 sym1: No NVRAM, ID 7, Fast-20, SE, parity checking sym1: SCSI BUS has been reset. scsi1 : sym-2.1.18j sunhme.c:v2.02 24/Aug/2003 David S. Miller (davem@redhat.com) eth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:f0:0b:51 8139too Fast Ethernet driver 0.9.27 eth1: RealTek RTL8139 at 0x1ff80018000, 00:0e:2e:64:61:fd, IRQ 7125120 SCSI device sda: 35378533 512-byte hdwr sectors (18114 MB) SCSI device sda: drive cache: write through /dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 SCSI device sdb: 35378533 512-byte hdwr sectors (18114 MB) SCSI device sdb: drive cache: write through /dev/scsi/host0/bus0/target1/lun0: p1 p2 p3 Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0 sr0: scsi3-mmc drive: 12x/12x xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.20 pKernel panic: Attempted to kill init! <0>Press L1-A to return to the boot prom ivot_root: No such file or directory /sbin/init: 432: cannot open dev/console: No such file