Create preseed partitions

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am looking to get



  • A fixed 10GB / partition


  • A fixed 1GB SWAP


  • All the rest of the space in an ext4 partition

With the following code, the rest of the space is being put on the swap, can someone help?



d-i partman-auto/expert_recipe string 
boot-root ::
10000 10000 10000 ext4
$primary $bootable
$lvmok method format format
use_filesystem filesystem ext4
mountpoint /
.
64 512 1000 linux-swap
$lvmok method swap format
.
10000 10000 -1 ext4
method format format
use_filesystem filesystem ext4
.






share|improve this question




















  • How large is your drive?
    – WinEunuuchs2Unix
    Apr 26 at 1:48










  • 60GB (this can vary though, up to 128 gb)
    – Onitlikesonic
    Apr 26 at 3:26










  • I'm not sure why you want a 1 GB swap, but after that I would keep everything on / and make it 59 GB.
    – WinEunuuchs2Unix
    Apr 26 at 10:18










  • Thanks but i need the partition layout to be as i mentioned above since i have other plans for the second partition that i want to create there (the big one)
    – Onitlikesonic
    Apr 26 at 12:09














up vote
0
down vote

favorite












I am looking to get



  • A fixed 10GB / partition


  • A fixed 1GB SWAP


  • All the rest of the space in an ext4 partition

With the following code, the rest of the space is being put on the swap, can someone help?



d-i partman-auto/expert_recipe string 
boot-root ::
10000 10000 10000 ext4
$primary $bootable
$lvmok method format format
use_filesystem filesystem ext4
mountpoint /
.
64 512 1000 linux-swap
$lvmok method swap format
.
10000 10000 -1 ext4
method format format
use_filesystem filesystem ext4
.






share|improve this question




















  • How large is your drive?
    – WinEunuuchs2Unix
    Apr 26 at 1:48










  • 60GB (this can vary though, up to 128 gb)
    – Onitlikesonic
    Apr 26 at 3:26










  • I'm not sure why you want a 1 GB swap, but after that I would keep everything on / and make it 59 GB.
    – WinEunuuchs2Unix
    Apr 26 at 10:18










  • Thanks but i need the partition layout to be as i mentioned above since i have other plans for the second partition that i want to create there (the big one)
    – Onitlikesonic
    Apr 26 at 12:09












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am looking to get



  • A fixed 10GB / partition


  • A fixed 1GB SWAP


  • All the rest of the space in an ext4 partition

With the following code, the rest of the space is being put on the swap, can someone help?



d-i partman-auto/expert_recipe string 
boot-root ::
10000 10000 10000 ext4
$primary $bootable
$lvmok method format format
use_filesystem filesystem ext4
mountpoint /
.
64 512 1000 linux-swap
$lvmok method swap format
.
10000 10000 -1 ext4
method format format
use_filesystem filesystem ext4
.






share|improve this question












I am looking to get



  • A fixed 10GB / partition


  • A fixed 1GB SWAP


  • All the rest of the space in an ext4 partition

With the following code, the rest of the space is being put on the swap, can someone help?



d-i partman-auto/expert_recipe string 
boot-root ::
10000 10000 10000 ext4
$primary $bootable
$lvmok method format format
use_filesystem filesystem ext4
mountpoint /
.
64 512 1000 linux-swap
$lvmok method swap format
.
10000 10000 -1 ext4
method format format
use_filesystem filesystem ext4
.








share|improve this question











share|improve this question




share|improve this question










asked Apr 26 at 0:22









Onitlikesonic

23227




23227











  • How large is your drive?
    – WinEunuuchs2Unix
    Apr 26 at 1:48










  • 60GB (this can vary though, up to 128 gb)
    – Onitlikesonic
    Apr 26 at 3:26










  • I'm not sure why you want a 1 GB swap, but after that I would keep everything on / and make it 59 GB.
    – WinEunuuchs2Unix
    Apr 26 at 10:18










  • Thanks but i need the partition layout to be as i mentioned above since i have other plans for the second partition that i want to create there (the big one)
    – Onitlikesonic
    Apr 26 at 12:09
















  • How large is your drive?
    – WinEunuuchs2Unix
    Apr 26 at 1:48










  • 60GB (this can vary though, up to 128 gb)
    – Onitlikesonic
    Apr 26 at 3:26










  • I'm not sure why you want a 1 GB swap, but after that I would keep everything on / and make it 59 GB.
    – WinEunuuchs2Unix
    Apr 26 at 10:18










  • Thanks but i need the partition layout to be as i mentioned above since i have other plans for the second partition that i want to create there (the big one)
    – Onitlikesonic
    Apr 26 at 12:09















How large is your drive?
– WinEunuuchs2Unix
Apr 26 at 1:48




How large is your drive?
– WinEunuuchs2Unix
Apr 26 at 1:48












60GB (this can vary though, up to 128 gb)
– Onitlikesonic
Apr 26 at 3:26




60GB (this can vary though, up to 128 gb)
– Onitlikesonic
Apr 26 at 3:26












I'm not sure why you want a 1 GB swap, but after that I would keep everything on / and make it 59 GB.
– WinEunuuchs2Unix
Apr 26 at 10:18




I'm not sure why you want a 1 GB swap, but after that I would keep everything on / and make it 59 GB.
– WinEunuuchs2Unix
Apr 26 at 10:18












Thanks but i need the partition layout to be as i mentioned above since i have other plans for the second partition that i want to create there (the big one)
– Onitlikesonic
Apr 26 at 12:09




Thanks but i need the partition layout to be as i mentioned above since i have other plans for the second partition that i want to create there (the big one)
– Onitlikesonic
Apr 26 at 12:09















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1028234%2fcreate-preseed-partitions%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1028234%2fcreate-preseed-partitions%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error