Backtrack4r2 usb live File system only read
Hello,
I installed BT4r2 in a usb, i use unetbootin for make the usb-live, the instalations is OK the system run and I can use the system but the problem is when I will wana use the USB to saved however file and show me the next error
I into in the USB
root@bt:/media/cdrom0# touch hola
touch: cannot touch `hola': Read-only file system
The problem is not the permissions because would show this
juampix@bt:/media/disk-2$ touch hola
touch: cannot touch `hola': Permission denied
This problem never pass with other USB than i used, the USB that i use and with the that show the error is a "SanDisk Cruzer Blade 8 GB
Please somebody can say me some on this problem
Thanks
Regards
Note:sorry for my english
Re: Backtrack4r2 usb live File system only read
Hi, from what I understand, you want to write files to your USB stick, but cannot right ?
If so, have you simply checked that there is not a switch turned on on your stick, preventing from writing on it ? (seems dumb, but sometimes, it's that easy...)
I don't remember trying to write on the same stick I was booting from, so maybe it is just no possible while the system is running (total guess here).
While waiting for an answer from people better than me, I suggest you mount your hard drive and write on it...
Hope this helps !
Re: Backtrack4r2 usb live File system only read
Quote:
Originally Posted by
comaX
Hi, from what I understand, you want to write files to your USB stick, but cannot right ?
If so, have you simply checked that there is not a switch turned on on your stick, preventing from writing on it ? (seems dumb, but sometimes, it's that easy...)
I don't remember trying to write on the same stick I was booting from, so maybe it is just no possible while the system is running (total guess here).
While waiting for an answer from people better than me, I suggest you mount your hard drive and write on it...
Hope this helps !
Yes is correct, I wanna write on the stick, It has not switch, before of change of USB could do it but with this new stick I can not.
Thanks for you helper
Re: Backtrack4r2 usb live File system only read
I think you are running you backtrack on boot and selecting persistent live CD (which is also persistent live USB)
Have you partition the drive in 2 areas, if you did not partition your thumbdrive, there is no space for the system to write to when it shut down.
First you have to insert a clean thumb drive into a linux OS (ubuntu would do fine), or have vmware installed backtrack.
find the drive letter your system is using, could be sdb1,sdc1,sdd1,etc etc
Do not type in fdisk /dev/sdb1, type in fdisk /dev/sdb instead else you will be stuck
# delete existing partitions. There may be more than one.
Quote:
Command (m for help): d
Partition number (1-4): 1
# create the first partition
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-522, default 1): <enter>
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-522, default 522): +2500M
#If you backtrack ISO is more than 2.5 GB, you need to specify a bigger size
#create the second partition
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (193-522, default 193): <enter>
Using default value 193
Last cylinder, +cylinders or +size{K,M,G} (193-522, default 522): <enter>
Using default value 522
# Setting the partition type for the first partition to vfat/fat32
Command (m for help): t
Partition number (1-4): 1
Hex code (type L to list codes): b
Changed system type of partition 1 to b (W95 FAT32)
# Setting the partition type for the second partition to Linux
Command (m for help): t
Partition number (1-4): 2
Hex code (type L to list codes): 83
# Setting the first partition active
Command (m for help): a
Partition number (1-4): 1
Command (m for help): w
# now it is time to format the partitions
Quote:
mkfs.vfat /dev/sdb1
mkfs.ext3 -b 4096 -L casper-rw /dev/sdb2
Instead of mounting, I offer a safer solution here (easier for newbies)
Run UNETBOOTIN and copy the ISO into the first partition of your USB.
Note that backtrack OS cant run UNETBOOTIN, you can unplug your thumbdrive and plug into a windows to do this instead.
After UNETBOOTIN is copied into the 1st partition, continue the following steps by linux
Check the letter of the thumbdrive your OS is using, sometimes it will change to sdc1, it is okay. Just amend the code below to sdc1 (or sdd,sde,depending what letter it was assign to)
Quote:
mkdir /mnt/sdb1
mount /dev/sdb1 /mnt/sdb1
Mount the thumbdrive onto the mount folder so you can make changes
Quote:
grub-install --no-floppy --root-directory=/mnt/sdb1 /dev/sdb
Be very careful with this line of code and double check, if this is wrong, you cant boot up.
Quote:
cd /mnt/sdb1/boot/grub
nano menu.lst
now to make some changes to the menu
Quote:
# By default, boot the first entry.
default 4
and
Quote:
title Start Persistent Live CD
kernel /boot/vmlinuz BOOT=casper boot=casper persistent rw quiet vga=0x317
initrd /boot/initrd.gz
vga=0x317 is to set the resolution.
Now start backtrack, select Persistent Live CD (it is Persistent Live USB but the name is just wrong and confuse people). Create a text file on the desktop and reboot. If the text file is still there that means you are on the right track.