You are not logged in.
I've made new partition in ext4, move the /usr to new directory in /dev/sda5 but whenever it starts it says
ERROR: Root device mounted successfully, but /sbin/init does not exist.
Bailing out, you are on your own. Good luck.
sh: can't access tty; job control turned off
I'm using mint live cd to copy
sudo rsync -aXS /media/mint/7d2419ca-c48b-4e8d-95b5-9c88d5815e47/usr/. /media/mint/ce116bbf-375f-47d3-a77f-0eaa1c768289.
like from https://help.ubuntu.com/community/Parti … ome/Moving
and I've added to /etc/fstab this
UUID=ce116bbf-375f-47d3-a77f-0eaa1c768289 /usr /ext4 defaults 0 2
Last edited by rofiquzzaki (2014-11-07 12:44:00)
Offline
Did you add the usr hook to your initramfs?
https://wiki.archlinux.org/index.php/Mk … _partition
Last edited by Scimmia (2014-11-07 00:37:34)
Offline
wow, thanks Scimmia for such a fast response
I wonder if you tell me how to add service / become root from another OS, since my Arch cannot boot after I changed my /usr. Or how to add the shutdown hook?
Offline
You'll need chroot into your Arch installation, modify your mkinitcpio.conf and regenerate your initramfs.
Offline
[SOLVED]
Success!
Thanks everyone
Here's what I've done if someone else needs some help
I've added my /etc/fstab
UUID=ce116bbf-375f-47d3-a77f-0eaa1c768289 /usr ext4 defaults 0 1
and added /etc/mkinitcpio.conf in HOOKS line I added 'shutdown' and 'usr' and 'fsck' is there by default
HOOKS="base udev autodetect modconf block filesystems keyboard shutdown usr fsck"
and what I've done with my usb Arch installer after boot to my usb Arch installer
# mkdir arch_root
# mount /dev/sda2 arch_root
# mkdir /arch_root/usr
# mount /dev/sda5 /arch_root/usr
# arch-chroot /arch_root /bin/bash
# mkinitcpio -p linux
Last edited by rofiquzzaki (2014-11-07 12:43:21)
Offline