Linux - NewbieThis 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.
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.
It looks like you put everything under / when you installed your Linux. In future posts please put the output of your commands between the 'code' tags (# in the icon bar) so that it's easier to read.
You'll have to manually set up partitioning to get to where you want. Either by reinstalling (the easiest way) or by using a Gparted LiveCD, boot from that, free up the free space you need, create the partitions, reboot into your Linux and adjust the fstab file.
Also please post at least what distro and version you are using.
It looks like you put everything under / when you installed your Linux. In future posts please put the output of your commands between the 'code' tags (# in the icon bar) so that it's easier to read.
You'll have to manually set up partitioning to get to where you want. Either by reinstalling (the easiest way) or by using a Gparted LiveCD, boot from that, free up the free space you need, create the partitions, reboot into your Linux and adjust the fstab file.
Also please post at least what distro and version you are using.
Kind regards,
Eric
Hi mate thank you for the welcome.
I have debian5.0.1 and it's a web server in a hosting company.
Only what i have is a shell access ( ssh ).
Do you know a command or a software to do a partition easyly ?
As far as I know partitioning and/or repartitioning is best done in single user mode and I'm afraid that will not work well with ssh since you will loose your connection. You can look into the following commands:
Code:
cfdisk
parted
sfdisk
but I for one have never tried it when my only access is through SSH. At one point or another I think you'll be unable to complete what you want.
Is there a possibility that you can ask the hosting provider to re-install but with your partitioning schema? I imagine that they set it up for you?
As far as I know partitioning and/or repartitioning is best done in single user mode and I'm afraid that will not work well with ssh since you will loose your connection. You can look into the following commands:
Code:
cfdisk
parted
sfdisk
but I for one have never tried it when my only access is through SSH. At one point or another I think you'll be unable to complete what you want.
Is there a possibility that you can ask the hosting provider to re-install but with your partitioning schema? I imagine that they set it up for you?
I think that's about all you can do. And just tell them how you want partitioning set up. A small advice; if they reinstall accordingly to your partitioning scheme, ask them to set it up using LVM (Logical Volume Manager). That way you can always resize partitions after installation.
That way you can always resize partitions after installation.
But only a few file system types (jfs, reiserfs, xfs ... any more?) allow expanding file systems while they are mounted so, if you are committed to the likes of ext3, you may want to ensure that the file systems that have to be mounted for you to ssh into the system are created plenty big enough during the re-installation.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.