Changes between Version 20 and Version 21 of jazz/preseed_ubuntu


Ignore:
Timestamp:
Dec 12, 2011, 7:25:55 PM (13 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/preseed_ubuntu

    v20 v21  
    200200}}}
    201201 * <備忘> 不過 Ubuntu 必須在 11.10 以後才支援 Hybrid ISO。其他版本應該是 initrd.gz 裡頭並沒有處理這一塊,所以無法辨別 USB 安裝拇指碟
     202
     203 * 其實 debian / ubuntu live cd 都可以使用 casper-rw 來當做 unionfs 的空間。今天遇到一個狀況就是:如果 casper-rw 空間不夠的話,該怎麼放大呢?有篇討論提供的作法挺不賴:
     204{{{
     205Re: Resize Casper-rw file (persistent store of ubuntu on usb pendrive)?
     206You can also resize the filesystem. First, you need to extend the image file to the desired size. If you want increase the size from 500MB to 1GB, you'll need to add 500MB of zeroes to the end of the file.
     207
     208It's a good idea to backup the image first.
     209
     2101. add 500MB of zeroes to the end of the image casper-rw. Make sure you use >> (append) and not > (overwrite).
     211
     212      dd if=/dev/zero bs=1M count=500 >> casper-rw
     213
     2142. resize the filesystem to cover the entire image file
     215
     216      resize2fs casper-rw
     217
     218That should be it.
     219}}}