[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: QNAP TS-209II make bootable fails



I can still login using the user installer with associated password and get
the "ash" shell. Can anyone spell out how to make it bootable when the power
switch is turned on?
On device #0 I have
#1 primary ext2 /boot.
#2 primary ext2 /
#5 logical    swap

So you didn't use RAID or LVM?  In that case, it should work, or at
least it worked for me.

You can open a shell and look at /var/log/syslog to see why it failed.

If it's size related, do:
 echo "COMPRESS=xz" > /target/etc/initramfs-tools/conf.d/compress
and run the installer step to make it bootable again.

And BTW, I suggest you use ext4 rather than ext2.

Martin

Thank you very much for that information, it was exactly what was needed.
BTW I made a typo above for #2 which should have read ext4 and I also did not post the full table.

Indeed there was not enough space for initrd in MTD 'RootFS1' (need 4649247 but is actually 4194304).
causing the flash-kernel to fail.

I did the xz compression injection you suggested however the log suggested setting MODULES=dep in one or both (if exist)
(target/)/etc/initramfs-tools/conf.d/driver-policy and
(target/)/etc/initramfs-tools/initramfs.conf
and then run 'update-initramfs -u -k 3.16.0-4orion5x'

I have it up and running now despite using LVM. Now to explore a little.

Regards, John


Reply to: