What's new

JFFS partition problems, Entware won't install

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

mellonjollie

New Around Here
I've followed the steps to install Entware (https://github.com/RMerl/asuswrt-merlin/wiki/Entware), but it refuses to see the JFFS partition.

I always get the " Info:  Looking for available partitions...
 *** Error:  No ext2/ext3 partition available. Exiting..." message.

The tools tab shows the partition is there... 0.50/7.63 MB

I've tried both the 3.0.0.4.270.276 and RT-N66U_3.0.0.4_354.29-BETA1 versions with no success. Both times I enabled & formatted the first time, then rebooted twice. And both times the UI showed the partition was there. Download Master is not installed either.

Has anyone else had this problem or know how to fix it?
 
I've followed the steps to install Entware (https://github.com/RMerl/asuswrt-merlin/wiki/Entware), but it refuses to see the JFFS partition.

I always get the " Info:  Looking for available partitions...
 *** Error:  No ext2/ext3 partition available. Exiting..." message.

That error message is not about the JFFS partition, it's about the USB disk where you are going to install Entware. It cannot find any USB disk formatted as ext2 or ext3.
 
Thanks for the replies. Looks like I did activate and format my JFFS correctly, but my USB drive was not partitioned. I'll fix that and try again.
 
Ok, I'm stuck again. I get the same error message if I format my USB drive to either Ext2 or Ext3 using the MiniToolPartitionWizard. I can't even choose a partition.

[1m Info:  Looking for available partitions...
[1] --> /tmp/mnt/sda1
 =>  Please enter partition number or 0 to exit
[0-1]: [: bad number
 Info:  selected.

 Info:  Creating /entware folder...
mkdir: can't create directory '/entware': Read-only file system

I tried formatting the USB from the command window, but since the USB is always mounted, the "mkfs.ext3 /dev/sda1" command fails.
 
I tried formatting the USB from the command window, but since the USB is always mounted, the "mkfs.ext3 /dev/sda1" command fails.
Hi,

Why you do not unmount it before formatting? :eek:
'umount' should be your friend for this job... :rolleyes:

With kind regards
Joe :cool:
 
I think Linux commands have something against me. I've successfully unmounted the drive and any attempt to format from the terminal results in:
"/dev/sda1 is apparently in use by the system; will not make a filesystem here!"

I also tried removing the read-only limit by using chmod, but that isn't working either.
Thanks for all the help so far.
 
Then you didn't sucecssfully unmount it.

"umount /dev/sda1" followed by "mount" would show if the unmount succeeded.

If it DOES show as still mounted, something is using it.
 
Ok, I'm stuck again. I get the same error message if I format my USB drive to either Ext2 or Ext3 using the MiniToolPartitionWizard. I can't even choose a partition.

[1m Info: [0m Looking for available partitions...
[1] --> /tmp/mnt/sda1
[1m => [0m Please enter partition number or 0 to exit
[1m[0-1][0m: [: bad number
[1m Info: [0m selected.

[1m Info: [0m Creating /entware folder...
mkdir: can't create directory '/entware': Read-only file system

I tried formatting the USB from the command window, but since the USB is always mounted, the "mkfs.ext3 /dev/sda1" command fails.

Hi guys, I'm trying to install transmission per this guide and this same thing is happening to me. My external hard disk is formatted as ext4. Pretty much, I get stuck on the step where I have to choose partition "1" because it never lets me choose it.

I've tried the command umount /dev/sda1 but all I get is:

umount: can't umount /tmp/mnt/sda1: Device or resource busy
 
you know a linux pc makes this much easier

but if you must from cmd line on the router

you can try
Code:
umount -l
that's a lower case L for lazy
whatever processes are using it will start to produce some errors
but it will unmount and then allow you to proceed with formatting
 
you know a linux pc makes this much easier

but if you must from cmd line on the router

you can try
Code:
umount -l
that's a lower case L for lazy
whatever processes are using it will start to produce some errors
but it will unmount and then allow you to proceed with formatting

Will instlling entware in general work with ext4 formatted drives though? The guide says only ext3 and ext2 drives work, but isn't ext4 pretty much the same thing?
 
Launch a Linux live cd like Ubuntu from your pc and format USB drive as ext 3 only....once this is done all will work well...reboot the router with drive attached....do not use windows third party tools to format as it won't work right. Good luck
 
ext4 is only supported by the RT-AC56U and RT-AC68U.
 
Hello guys. I am stuck on "unmount: not found" and am trying to format this 8gb USB for installing Entware and other packages. Where do I get this command to install it? Oh, and I would really like to partition the 8gb to half maybe or have 2gb dedicated to Entware using fdisk if I can ever get this unmounted. :(

Code:
admin@RT-AC66R-0A60:/# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                20.3M     20.3M         0 100% /
tmpfs                   117.0M    936.0K    116.0M   1% /tmp
devfs                   117.0M         0    117.0M   0% /dev
/dev/mtdblock5           32.0M      1.1M     30.9M   4% /jffs
/dev/sda1                 7.1G     90.0K      6.7G   0% /tmp/mnt/asusWRT-USB
admin@RT-AC66R-0A60:/# unmount -l
-sh: unmount: not found
admin@RT-AC66R-0A60:/#

[0/2 in installing Entware] I get this:
Code:
admin@RT-AC66R-0A60:/# entware-setup.sh
 Info:  This script will guide you through the Entware installation.
 Info:  Script modifies "entware" folder only on the chosen drive,
 Info:  no other data will be changed. Existing installation will be
 Info:  replaced with this one. Also some start scripts will be installed,
 Info:  the old ones will be saved on Entware partition with name
 Info:  like /tmp/mnt/sda1/jffs_scripts_backup.tgz

 Info:  Looking for available partitions...
[1] --> /tmp/mnt/asusWRT-USB
 =>  Please enter partition number or 0 to exit
[0-1]: 1
 Info:  /tmp/mnt/asusWRT-USB selected.

 * Warning:  Found previous installation, saving...
 Info:  Creating /tmp/mnt/asusWRT-USB/entware folder...
 * Warning:  Deleting old /tmp/opt symlink...
 Info:  Creating /tmp/opt symlink...
 Info:  Creating /jffs scripts backup...
tar: removing leading '/' from member names
 Info:  Modifying start scripts...
admin@RT-AC66R-0A60:/#
It sits there for a while and then returns me to command prompt. "He's dead Jim."
 
Last edited:

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top