dd完的 image 分配問題 - Linux

Genevieve avatar
By Genevieve
at 2016-08-19T16:27

Table of Contents

小弟有一顆500GB 的硬碟

現在dd 一個image 2GB左右

在linux下 dt指令看到
sda size 465.8G type disk
--sda1 size 2.1G type part
--sda15 size 99M type part

想請教的問題是

我想把sda1 的使用空間 變增多5GB
請問要怎麼用呢 想知道比較詳細的steps 謝謝

在dd image過程 emu-img resize file.img +5G 但沒有用
只是image檔案變肥多了5GB..

謝謝

--
Tags: Linux

All Comments

Liam avatar
By Liam
at 2016-08-23T02:24
用 parted (move 一下再) resize
Carol avatar
By Carol
at 2016-08-23T04:45
1. 改partition table 2. ext2resize (如果用ext系列的FS)
Jacob avatar
By Jacob
at 2016-08-24T16:20
回kerwinhui 我前幾天試過parted resize
Sandy avatar
By Sandy
at 2016-08-27T16:32
Could not stat device resize 出現這error
Candice avatar
By Candice
at 2016-08-27T20:01
sorry, I need more detail of your steps
Dorothy avatar
By Dorothy
at 2016-08-29T21:45
parted /dev/sda,然後resize 1 start end,其中start
Catherine avatar
By Catherine
at 2016-08-30T00:11
和end請自己算
Damian avatar
By Damian
at 2016-09-01T15:49
這OS 是ubuntu Cloud 這限制比較多
Jake avatar
By Jake
at 2016-09-05T22:25
回k , 就不行, 不是在呼嚨你 別的OS ok
Andy avatar
By Andy
at 2016-09-06T07:09
你可以分享一下是哪個image嗎?看看板友有沒有空幫你試一下
Sierra Rose avatar
By Sierra Rose
at 2016-09-06T12:33
losetup變大後的image 再用gdisk去修改partition size

shell script何控制外面?

William avatar
By William
at 2016-08-18T22:21
如題 shell script要如何對外面有作用 好比我這樣寫test.sh #!bin/sh cd .. cd .. cd .. 然後執行bash test.sh 沒有任何事情發生 -- 作者: fleece (...) 看板: KoreanPop 標題: [問題] 請問一個叫O.S.T的歌手 ...

Linux 或開源多人開發運作模式

Elvira avatar
By Elvira
at 2016-08-18T21:56
我們team是採用github flow 在production machine上的是stable版本,也就是master branch 而正在開發的新功能是在同個feature branch 平常開發大家都是commit到這個feature branch commit前會先pull最新的code解決 ...

新的 AMD 顯卡在 Ubuntu 16.04 上使用的問題

Hedwig avatar
By Hedwig
at 2016-08-18T15:16
最近查詢了一下網路上的資訊,據網友使用的經驗,AMD 在 Linux 上的開源驅動效能已經超越了自家的閉源驅動,雖然和 Nvidia 的 專利驅動相比可能還有一段差距,但聽起來真的是頗吸引人的,所 以想請教這邊有在用 AMD 顯卡的前輩們一些問題。 1. 撇除過去對於 AMD 不爽的想法,現在的 AMD 開 ...

筆電安裝opensuse 42.1問題

Necoo avatar
By Necoo
at 2016-08-18T14:10
新買一台筆電 Dell XPS 15 硬碟為PCIe SSD 想安裝Windows 10 和 opensuse 42.1雙系統 有把ssd raid改AHCI 及關掉 boot secure 但安裝了好幾次都到96%安裝boot那地方當機 後來連BIOS都找不到硬碟 連win 10 都進不去 最後不知怎樣試到 ...

字串比較問題求救

Connor avatar
By Connor
at 2016-08-17T21:45
版上大大大家好 小弟最近正在學習Linux中,但遇到了一個數值比對問題無法解決,懇請版上大大指點迷 津 game() { if [ -n and#39;echo ${_game_list} | grep -i and#34; POand#34;and#39; ]; then _game_id =PO ...