PeterAlbers
January 30th, 2011, 05:00 PM
Hi,
I have the following problem. I tried to make a persistent USB Backtrack 4 r2.
I followed the steps according to the instructions and did not noticed any errors.
fdisk /dev/sdb
Command (m for help): d
Partition number (1-4): 1
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):
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-522, default 522): +5120M
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):
Using default value 193
Last cylinder, +cylinders or +size{K,M,G} (193-522, default 522):
Using default value 522
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)
Command (m for help): t
Partition number (1-4): 2
Hex code (type L to list codes): 83
Command (m for help): a
Partition number (1-4): 1
Command (m for help): w
mkfs.vfat /dev/sdb1
mkfs.ext3 -b 4096 -L casper-rw /dev/sdb2mkdir /mnt/sdb1
mount /dev/sdb1 /mnt/sdb1cd /mnt/sdb1
rsync -r /media/BT4/* .
grub-install --no-floppy --root-directory=/mnt/sdb1 /dev/sdb
My problem is that when i boot from the USB i only get the Grub prompt?
I can boot from USB because when i use Unetbootin everything works fine. Although it'snot persistent in that situation.
I seachered the web but i can't find the solution. I have run a script which i ran into on Sourceforge.net.
The results are in the attachement. But unfortunately i am real Newbie on linux so...I hope someone can help me out and can explain what i did wrong and how i can solve this :-)
Thanks!
I have the following problem. I tried to make a persistent USB Backtrack 4 r2.
I followed the steps according to the instructions and did not noticed any errors.
fdisk /dev/sdb
Command (m for help): d
Partition number (1-4): 1
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):
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-522, default 522): +5120M
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):
Using default value 193
Last cylinder, +cylinders or +size{K,M,G} (193-522, default 522):
Using default value 522
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)
Command (m for help): t
Partition number (1-4): 2
Hex code (type L to list codes): 83
Command (m for help): a
Partition number (1-4): 1
Command (m for help): w
mkfs.vfat /dev/sdb1
mkfs.ext3 -b 4096 -L casper-rw /dev/sdb2mkdir /mnt/sdb1
mount /dev/sdb1 /mnt/sdb1cd /mnt/sdb1
rsync -r /media/BT4/* .
grub-install --no-floppy --root-directory=/mnt/sdb1 /dev/sdb
My problem is that when i boot from the USB i only get the Grub prompt?
I can boot from USB because when i use Unetbootin everything works fine. Although it'snot persistent in that situation.
I seachered the web but i can't find the solution. I have run a script which i ran into on Sourceforge.net.
The results are in the attachement. But unfortunately i am real Newbie on linux so...I hope someone can help me out and can explain what i did wrong and how i can solve this :-)
Thanks!