Hey guys,as somebody had already run ubuntu on g1 and n1 etc. I wonder if we can run it on SG3 or not.
I got nexus one's ubuntu.img and the scripts to boot it.But now I got some trouble.
The way to boot it is to mount the image file into a block device.Such as:
su
mount -o rw,remount /dev/block/stl6 /system
mount -o rw,remount /dev/block/stl7 /data
mknod /dev/block/ubu b 7 0
losetup /dev/block/ubu /sdcard/ubuntu/ubuntu.img
But when I mount ubu to a folder like:"/data/local/ubuntu" as ext2 filesystem it shows no such device.
I thought the kernel didn't support the ext2 fs.I even tried ext4 and rfs.rfs fs shows busy.
Anyone can help me?
I'm in kyrillos' 3.3.
Sent from my GT-I5800 using XDA Premium App
ask this Question in the Q & A thread CLOSED
Related
Hey guys,
Loaded BAMF 1.5 yesterday and have been enjoying the ROM thus far. However, I've been trying to push my custom widget.txt to the \system\customize\ folder so I can have my own power controls in the notifcation bar. I have tried the Mount rw/ro app from the Market, and have also tried mounting rw using adb (mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system).
Each time, when I use the command: adb push widget.txt /system/customize/ I get the error: failed to copy 'widget.txt' to '\system\customize\': Read-only file system
Where am I going wrong?
Seth
sethschmautz said:
Hey guys,
Loaded BAMF 1.5 yesterday and have been enjoying the ROM thus far. However, I've been trying to push my custom widget.txt to the \system\customize\ folder so I can have my own power controls in the notifcation bar. I have tried the Mount rw/ro app from the Market, and have also tried mounting rw using adb (mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system).
Each time, when I use the command: adb push widget.txt /system/customize/ I get the error: failed to copy 'widget.txt' to '\system\customize\': Read-only file system
Where am I going wrong?
Seth
Click to expand...
Click to collapse
I'm pretty sure the TB is using EXT3, not YAFFS2.
Try
Code:
mount -o remount,rw -t ext3 /dev/block/mtdblock3 /system
Even easier, assuming you have busybox. busybox mount isn't as lame as the standard mount which is provided, so you don't have to tell it as much, it can figure things out on its own:
busybox mount -o remount,rw /system
busybox mount -o remount,ro /system
Click to expand...
Click to collapse
even easier.
sysrw
sysro
Doesn't anyone ever read the first post of my rom?
I'm an idiot. Thanks for the ext3 vs yaffs2 reminder.
I'll try busybox at some point also to check
And to Adrynalyne, apparently I didn't read the first post...my bad. Thanks for reading mine, though. I'll pay closer attention in the future.
Seth
From the dev's forum :
- To use Clemsyn-Blades 3.2 OC (v2-4) with PRIME 1.7-final, do following:
Install PRIME 1.7-final
Delete /system/lib/modules/voodoo-sound.ko (eg rename voodoo-sound.bak)
Install Clemsyn-Blades OC kernel
Everything should be fine, voodoo-sound enabled in kernel
Click to expand...
Click to collapse
Forgive my noobness but how do you mount /system in read/write mode instead of read only ?
I tried mount -o rw,remount -t ext4 /dev/block/mmcblk0p1 /system while in root in an adb shell but it screwed the tablet, shut it down and turned it in bootloop...
Can someone script the correct method please ?
Thx
mathmath5151 said:
From the dev's forum :
Forgive my noobness but how do you mount /system in read/write mode instead of read only ?
I tried mount -o rw,remount -t ext4 /dev/block/mmcblk0p1 /system while in root in an adb shell but it screwed the tablet, shut it down and turned it in bootloop...
Can someone script the correct method please ?
Thx
Click to expand...
Click to collapse
This is what I use (because I don't want to try to get all the -o options right, only the ones I know for certain):
$su
# mount -o rw,remount /system
// and after changes
# sync
# mount -o ro,remount /system
# exit
$ exit
...
Hopefully that'll work OK for you. I'm talking about doing this from within terminal emulator, although I'm sure it's the same from adb shell. I just tried it again to be sure.
The idea is that since it's just a change in how it's mounted, it knows everything about how it's mounted already, so just tell it to change the ro/rw flag and to remount. You can see a lot of flags if you just type in # mount | grep system, but entering them correctly and in sequence might be another story.
Good luck -
Disregard
Sent from my Transformer TF101 using Tapatalk
It worked, thanks
Well, method for noobs : use root explorer application
Sent from my Transformer TF101
Hi,
I am using atrix 4G, my phone is rooted and unlock.
When i used "mount -o noatime -t ext2 /dev/block/loop2 $mnt" it gave error no such device.
Any advise how to sort this out?
Regards
On my previous HTC phones, I was able to mount an ext4 partition simply by doing:
Code:
mount -o remount,rw /
mkdir /storage/sdcard3
mount -o remount,ro /
mount -t ext4 /dev/block/mmcblk1p2 /storage/sdcard3
Problem is, I can only see the files in terminal. None of the other apps can see anything, even with root access. Anyone been able to do this successfully on this phone?
Bump. From the terminal, I see no reason why this shouldn't work. I've mounted with the same options as other partitions, and even used chmod and chown to modify permissions to be identical to those in other mounts. I'm not sure if this is a KitKat issue, or something HTC has done to the ROM itself.
I've been able to do this on both my Incredible and Rezound, both with stock and AOSP ROMs. I'm really stumped why I can't get this working on my M8.
Hi,
I am looking for a working /etc/init.d/-script to mount /data/sdext2 on my ASUS ME176CX.
Googling I found several times this snippet mentioned:
mount -t ext4 -o rw /dev/block/vold/<ID_A>:<ID_B> /data/sdext2
mount -t ext4 -o rw /dev/block/mmcblk1p2 /data/sdext2
Depending on the source of information ID_A and ID_B are varying, but none has
matched the situation on my tablet.
Furthermore I dont know "vold"...what is it? What purpose have it?
Another question: Is it ok to simply mkdir /data/sdext2 or does this need
a similiar "magic" pre-command like that vold-thingy before the real mount above?
I know that LINK2SD creates similiar, but I dont want to use LINK2SD.
Any help is very appreciated -- thank you!
Cheers,
noriatell