Flik Shen
April 19th, 2011, 04:31 AM
Hi guys,
I have 8GB usb pen drive and wanna install a persistent ubuntu 10.10 on it form Live CD.
However, I always ran out of space even I extended the loop casper-rw file 2GB.
It did NOT work for me simply delete casper-rw loop file and create an more than 5GB partition labeled casper-rw. Indeed usb pen could not boot up anymore after I did that.
Then I think maybe I could run installer and make a complete installation on usb pen driver. Unfortunatively it stopped with I/O error. I tried this both on SanDisk and no brand usb pen. (I think it should not work even after successful installation due mutable device name when plug into different port.)
I search the google and got a topic about Customize Live CD. (Why default ubuntu Live USB does not server my demand? Since I use Dell Latitue E4310 and my wireless card driver is not included in default installation.) Following the guideline, I rsync whole Live CD on HD which is ntfs partition except file filesystem.squashfs under casper sub-directory. Then I unsquash squashfs file system into another temp directory (also ntfs partition). When I try to chroot to jail the changes I might do, I was occurred by an error again. It said "Cannot execute '/bin/bash': Permission Denied". When I look into the uncompress the directory and found the permission is 600 (-rw-------) and I tried command chown and chmod but could not change the permission.
I also tried to uncompress squash file system to ext3/ext4 partition on usb pen drive and same issue.
I have tried such many ways.
Is there any step I missed or thought it in wrong way?
Does it mean above operations are too difficult to usb pen drive and a HD installation is required?
Any suggestion and ideas are welcome.
thanks a lot.
I have 8GB usb pen drive and wanna install a persistent ubuntu 10.10 on it form Live CD.
However, I always ran out of space even I extended the loop casper-rw file 2GB.
It did NOT work for me simply delete casper-rw loop file and create an more than 5GB partition labeled casper-rw. Indeed usb pen could not boot up anymore after I did that.
Then I think maybe I could run installer and make a complete installation on usb pen driver. Unfortunatively it stopped with I/O error. I tried this both on SanDisk and no brand usb pen. (I think it should not work even after successful installation due mutable device name when plug into different port.)
I search the google and got a topic about Customize Live CD. (Why default ubuntu Live USB does not server my demand? Since I use Dell Latitue E4310 and my wireless card driver is not included in default installation.) Following the guideline, I rsync whole Live CD on HD which is ntfs partition except file filesystem.squashfs under casper sub-directory. Then I unsquash squashfs file system into another temp directory (also ntfs partition). When I try to chroot to jail the changes I might do, I was occurred by an error again. It said "Cannot execute '/bin/bash': Permission Denied". When I look into the uncompress the directory and found the permission is 600 (-rw-------) and I tried command chown and chmod but could not change the permission.
I also tried to uncompress squash file system to ext3/ext4 partition on usb pen drive and same issue.
I have tried such many ways.
Is there any step I missed or thought it in wrong way?
Does it mean above operations are too difficult to usb pen drive and a HD installation is required?
Any suggestion and ideas are welcome.
thanks a lot.