You are not logged in.
Pages: 1
After rebuilding an image and configuring syslinux, at the boot, I've got the following result.
This came after the RAID, LVM and /boot mounting messages.
ERROR: Boot device mounted successfully, but /sbin/init does not exist. Bailing out, you are on your own. Good luck.
/bin/sh: can't access tty: job control turned off
But /sbin/init exists
As required in the wiki documentation for RAID and LVM, I've put in mkinitcpio "dm_mod" MODULES and "mdadm_udev and lvm2" HOOKS/
/boot is on non-raid partition.
Do you have any idea what it is wrong ? mkinitcpio or syslinux ?
Offline
Without seeing your syslinux.cfg it is difficult to say...
Offline
I've forgotten to say that
- the disk is partionned in GPT as recommended in the RAID and LVM wiki.
- messages at the boot step :
:: running hook [udev]
:: Trigggering uvents ...
:: running hook [lvm2]
Activating Logic Volume
1 logical volume(s) in volumegroup"VolGroupArray" now active
.....
:: mounting '/dev/sda19' on real root
:: running cleanup hook [udev]
ERROR: Boot device mounted successfully, but /sbin/init does not exist. Bailing out, you are on your own. Good luck.
/bin/sh: can't access tty: job control turned off
Here are more information :
* syslinux.conf
--------------
DEFAULT arch
PROMPT 0
TIMEOUT 50
UI menu.c32
LABEL arch
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=/dev/sda19 ro
INITRD ../initramfs-linux.img
* mkinitcpio.conf
-----------------
MODULES="dm_mod"
BINARIES=""
FILES=""
HOOKS="base udev autodetect pata scsi sata mdadm_udev lvm2 filesystems usbinput"
* fstab
-------
/dev/mapper/VolGroupArray-lvroot / ext4 rw,relatime,data=ordered 0 1
/dev/sda19 /boot ext4 rw,relatime,stripe=4,data=ordered 0 2
/dev/mapper/VolGroupArrayOpt-lvopt /opt ext4 rw,relatime,data=ordered 0 2
/dev/mapper/VolGroupArrayExport-lvexport /export ext4 rw,relatime,data=ordered 0 2
/dev/mapper/VolGroupArrayHome-lvhome /home ext4 rw,relatime,data=ordered 0 2
/dev/mapper/VolGroupArrayTmp-lvtmp /tmp ext4 rw,relatime,data=ordered 0 2
/dev/mapper/VolGroupArrayVar-lvvar /var ext4 rw,relatime,data=ordered 0 2
/dev/mapper/VolGroupArrayBoot-lvboot /bootBackup ext4 rw,relatime,data=ordered 0 2
/dev/dm-7 none swap defaults 0 0
Last edited by jasonwryan (2012-08-29 18:42:04)
Offline
Please use code tags when pasting into the boards:
https://wiki.archlinux.org/index.php/Fo … s_and_Code
Your APPEND line looks wrong: it should list the logical volume, like root=/dev/mapper/VolGroup-Array-lvroot
Offline
Fine, it's woorking now.
But a bug can be reported.
When the command "syslinux-install_update" is executed, the file is not correctly filled at the level of the APPEND tag : it tkes the boot partition and not the root partition (see the case).
Thank you,
Offline
I've tried to install /boot on Logical Volume based on an array raid1 (2 partitions : /dev/sda2 and /dev/sda3) but it failed.
It not possible to use syslinux-install_update because it can't mark the partition active with the boot flag.
I used the following command as recommended by the wiki
sgdisk /dev/sda --attributes=2:set:2
sgdisk /dev/sda --attributes=3:set:2
Is it possible to boot on /boot on an array raid1 ?
Offline
Is it possible to boot on /boot on an array raid1 ?
Sure. Syslinux will detect a Raid setup and install to both devices:
Detected RAID on /boot - installing Syslinux with –raid
Syslinux install successful
Boot Flag Set - /dev/sda1
Boot Flag Set - /dev/sdb1
Installed MBR (/usr/lib/syslinux/mbr.bin) to /dev/sda
Installed MBR (/usr/lib/syslinux/mbr.bin) to /dev/sdb
Also, I put your code tags in: do it yourself next time please...
Offline
I am doing raid 1 on the same disk (not very good but better that doing no raid)
So, I followed the instructions but doing them on the same disk (except install MBR on only one disk) and I obtained the message at the boot :
Multiple active partitions
Afterwards, I removed the boot flag on the second partitions making the raid 1 array, the new message is
Booting...
Missing OS
Is it really possible to boot on a raid 1 array with 2 partitions on the same disk ?
Offline
Pages: 1