problems partitioning live USB stick

I tried the tutorial on the main opensuse page.
I used dd to make the live usb stick work and im having problems formatting the remaining space on my usb stick.
i did the script and i dont see where the extra space is at.

is there another way i can get the rest of the space on my stick to use it?

Live USB stick - openSUSE

As always with partitioning questions, give us the output of

fdisk -l

Of course with the stick connected. And posting the part about the stick (leaving out that of your other disks) is enough when you can indentify that part. When not, post all.

I partitioned the USB and got it all working. but now when I work my USB is constantly flashing even though I’m doing nothing at times. it makes my live USB very sluggish to use. is there some way I can fix that?

OK maybe a little info on USB mem sticks might help.

1 Mem sticks are NOT disk drives. SSD’s ae speciale controlled to optimize usage patterns

  1. Mem sticks use flash flash is weird you can only erase/change things in blocks. ie if you change one byte a whole block must be re written and that block erased.

  2. on average you can only erase a block about 10K times before it goes bad. SSD maintain reserve blocks to replace bad blocks memsticks don’t

  3. Mem sticks are slow. They are faster then CD but much slower then hard drives. They in general are simply not optimized and use cheap flash.

You should mount /home and maybe /etc and /var to the drive to be persistent. The rest should be mounted to ram disk to reduce the writes to the flash.

how do i make it do that?

It is all done in the /etc/fstab

Need to see your partitions as of now

as root
fdisk -l

then your current fstab

cat /etc/fstab

Hi, could you tell me how u managed with the partition, i type the command given in the guide. but nothing seems to happen…

How could we know what command you mean? Or do you think we are all having this guide before us or that we are seeing what you type?

you got to write the dd command all as one line even though it looks like three in the guide.

can you just give me the answer? i cant reach that part cause its very sluggish and freezes before i can post.

No since I don’t know how you partitioned things and how the fstab is currently written.

Can you boot to the command line? Press 3 at the boot menu.

I just erased the partition and ran it like a live cd.


linux:/home/linux # cat /etc/fstab
devpts  /dev/pts   devpts  mode=0620,gid=5 0 0
proc    /proc      proc    defaults 0 0
sysfs   /sys       sysfs   noauto 0 0
/dev/root / defaults 0 0

linux:/home/linux # fdisk -l

Disk /dev/sdb: 4025 MB, 4025810432 bytes
64 heads, 32 sectors/track, 3839 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk identifier: 0x6de64dcf

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         693      709632   83  Linux

Disk /dev/sdb1: 726 MB, 726663168 bytes
64 heads, 32 sectors/track, 693 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk identifier: 0x6de64dcf

     Device Boot      Start         End      Blocks   Id  System
/dev/sdb1p1   *           1         693      709632   83  Linux

the partition was sdb1p2 but is gone.

Create that partition again and mount it as /home. This keeps you personal data only and should not have as much minute to minute disk access. Everything else should go to RAM disk.

After some thought /etc is probably not a good thing to keep around if you are running this on multiple machines. Also /var has some cache stuff.

Note you will not be able to persistently install software. At least not without modifying the CD image. But you will keep emails documents and desktop settings.