Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-09-2017, 03:00 PM
|
#1
|
Member
Registered: Jul 2012
Posts: 30
Rep: 
|
How can i use the remaining space in bootable disk?
Hello everyone,
I recently installed a new Linux based OS on my laptop by making a bootable disk. Since i didnot had any memory sticks with me so i used a 200 GB external harddisk as bootable disk to install.
After successful installation, when i connect my external harddisk (bootable hd) to my laptop, i am not able to use it for storage. Only solution that i have found is to format it and then use it as external storage.
Is there any way i could use my external harddisk for storage without formatting it???
|
|
|
01-09-2017, 03:12 PM
|
#2
|
Member
Registered: Dec 2016
Distribution: arch
Posts: 668
Rep: 
|
For clarification, are you saying you used an external hdd to make a live usb from which to install an OS on your laptop and you are trying to use the unused space on the external hdd for storage without killing your live usb installation?
If not, why don't you want to format the external hdd?
|
|
|
01-09-2017, 03:14 PM
|
#3
|
Member
Registered: Jul 2012
Posts: 30
Original Poster
Rep: 
|
Just out of curiosity. I would like to retain my live usb and use the remaining space for storage, if its possible.
|
|
|
01-09-2017, 03:22 PM
|
#4
|
Member
Registered: Dec 2016
Distribution: arch
Posts: 668
Rep: 
|
I would google search for "live usb with persistence". Should get you going in the right direction. There are many tutorials
|
|
|
01-09-2017, 03:30 PM
|
#5
|
Member
Registered: Jul 2012
Posts: 30
Original Poster
Rep: 
|
But that would mean i am using Live Usb and storing data (if i understood that correctly). What i want (if possible) is to use my external hdd which has a bootable image copied to it, to be used as external storage device (all the while retaining the external hdd ability to be a bootable media).
|
|
|
01-09-2017, 03:44 PM
|
#6
|
Member
Registered: Dec 2016
Distribution: arch
Posts: 668
Rep: 
|
Yes, I understand what you're saying. I have done this before only it was on a usb flashdrive rather than hdd. I was able to boot from the usb as well as plug the usb into an already running system and mount the persistent partition as just a regular storage partition and copy files to/from it.
|
|
1 members found this post helpful.
|
01-09-2017, 03:51 PM
|
#7
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by Azhar.iq
Since i didnot had any memory sticks with me so i used a 200 GB external harddisk as bootable disk to install.
After successful installation, when i connect my external harddisk (bootable hd) to my laptop, i am not able to use it for storage. Only solution that i have found is to format it and then use it as external storage.
Is there any way i could use my external harddisk for storage without formatting it???
|
no.
you explained it well, so the answer is simple:
NO.
|
|
|
01-09-2017, 03:51 PM
|
#8
|
MX Linux
Registered: Dec 2013
Posts: 402
Rep: 
|
how did you make your hard drive into a bootable image? dd?
|
|
|
01-09-2017, 03:54 PM
|
#9
|
Member
Registered: Jul 2012
Posts: 30
Original Poster
Rep: 
|
Quote:
Originally Posted by dolphin_oracle
how did you make your hard drive into a bootable image? dd?
|
YES
|
|
|
01-09-2017, 03:57 PM
|
#10
|
MX Linux
Registered: Dec 2013
Posts: 402
Rep: 
|
Quote:
Originally Posted by Azhar.iq
YES
|
Ok, so what you did was take your large hard drive and turn the entire thing into a read-only filesystem, of whatever size the iso was that you used.
tools like unetbootin or the live-usb-maker tool in mx/antiX (or other similar tools) deconstruct the iso and install onto media in a way that allows the space to be written to again.
|
|
1 members found this post helpful.
|
01-09-2017, 04:01 PM
|
#11
|
Member
Registered: Jul 2012
Posts: 30
Original Poster
Rep: 
|
Quote:
Originally Posted by dolphin_oracle
Ok, so what you did was take your large hard drive and turn the entire thing into a read-only filesystem, of whatever size the iso was that you used.
tools like unetbootin or the live-usb-maker tool in mx/antiX (or other similar tools) deconstruct the iso and install onto media in a way that allows the space to be written to again.
|
Thanks, will try.
|
|
|
01-09-2017, 06:29 PM
|
#12
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,411
|
It would have been a lot simpler, if you wanted to use additional space on the drive for storage, to install Grub2 on the external and create a grub.cfg file manually from the many examples available. You could then simply copy the iso (or multiple iso's) to that partition and boot it/them from Grub leaving the rest of the drive to be partitioned as you wanted.
|
|
1 members found this post helpful.
|
01-10-2017, 06:04 PM
|
#13
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by Azhar.iq
Hello everyone,
I recently installed a new Linux based OS on my laptop by making a bootable disk. Since i didnot had any memory sticks with me so i used a 200 GB external harddisk as bootable disk to install.
After successful installation, when i connect my external harddisk (bootable hd) to my laptop, i am not able to use it for storage. Only solution that i have found is to format it and then use it as external storage.
Is there any way i could use my external harddisk for storage without formatting it???
|
when I do this to a USB Stick. if you open up Gparted on that drive you'll see that if you used DD to create the boot sick then it parted it out. Leaving this unused room that is apart from the dd OS into it. I take that then make it into a partiton then use it to whatever I want. here is a SD Card I did this with.
Code:
mmcblk0 179:0 0 14.5G 0 disk
├─mmcblk0p2 179:2 0 1.4M 0 part
└─mmcblk0p1 179:1 0 14.5G 0 part [SWAP]
it is still a bootable SD Card when I need it, and a SWAP drive too two things in one. 
Last edited by BW-userx; 01-10-2017 at 06:16 PM.
|
|
|
All times are GMT -5. The time now is 06:15 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|