LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-27-2010, 02:29 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
How to resize debian live pendrive for bigger fat?


Hello,

To install debian live, one should do :
Code:
dd if=debianlivependrive.img  of=/dev/sda
then it is creating the pendrive (sda , not sdaX !)

but well, need more space? How to resize this partition without corrupting the pendrive bootable?
Gparted resizing results in : pendrive not working anymore.

Is there a n00b way, easy?
 
Old 02-27-2010, 04:21 AM   #2
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
Code:
fdisk -l /path/to/removable/disk
:d
(partition number)
c:
(primary)
<size>
t:
<choose linux>
(This should be linux and should be at least 1G in size)
<create two more partitions>
Using mke2fs use the following for all files.
(personal preferences here)
Code:
mke2fs -j /path/to/each/partition/on/the/disk
The live image goes to the largest and edit fstab with the following arguments in mind: No swap, and /home or /tmp large enough to hold one cd image(assuming you have at least a 2G stick).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
searching pendrive for linux (suse), live in india petra108 Linux - Wireless Networking 6 01-27-2010 12:22 AM
Pendrive with a Linux Live, without X? frenchn00b Linux - General 7 08-19-2009 04:47 AM
how to pass a command to the kernel at the grub (pendrive mepis 8 live)? frenchn00b MEPIS 2 08-16-2009 11:23 AM
Can not resize FAT partition linuxfond Linux - General 5 02-01-2005 01:52 AM
cannot resize Windows partition (fat) timsch75 Linux - Newbie 6 06-23-2004 09:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration