Ubuntu 10.0 Server installed on Windows 7 - Partition and GUI
I am very new to Linux and trying to setup a Ubuntu server in my Windows 7 PC. that means, I am trying to have a dual boot system.
While starting, my PC had 500GB and only one drive C. 18GB of it is used and rest was free.
I have gone thru the following step
1. Downloaded Ubuntu server on a USB using "Universal USb installer"
2. Booted the PC from the USB and started the Install Ubuntu Server
3. After a few steps the install showed 4 partition options.
I specified the guided partitioning options using free space. (The other options where : Using entire disk, using entire disk with LVM, Manual)
Next step it asked me to enter the disk space- it told me it will take at-least 19 GB and maximum available is approx 450GB. My intention was to use the full free space as much as possible. So I specified "max". It told me that it is going to overwrite and create the new partition. Then it progressed fine.
4. I also chosen to install the LAMP stack /Postgress etc.
The installation completed fine
When rebooted I logged back in in windows 7. When I opened explorer,
I still see that the C drive has around 18GB and 396 GB free space. t seems some of the space has been used by the linux server install.
I again started my PC and now I logged in to Ubuntu. I tried command $ df -h . But it is showing the following:
Filesystem Size Used Avail Use% Mounted on
/dev/sda9/ 2.3G 1.2G 1.1G 53% /
none 1.5G 236K 1.5G 1% /dev
none 1.5G 0 1.5G 0% /dev/shm
none 1.5G 372K 1.5G 1% /var/run
none 1.5G 0 1.5G 0% /var/lock
none 2.3G 1.2G 1.1G 53% /var/lib/ureadahead/debugfs
It seems like it is showing only the file systems that are used by linux which is only 10GB and only 8G is available.
So the questions are:
1. The free space of 400GB still shows up under Windows.How can I make sure that Linux is going to use the free disk space and not only this 10GB?
2. When I load data in Postgres which is in Linux, will that use the free space?
3. Is there any other command that will properly show the actual partitions and hard disk available?
4. What will be the best and light GUI to install with this server? I saw the following options in web:
sudo apt-get install ubuntu-desktop
sudo aptitude install --no-install-recommends ubuntu-desktop
sudo apt-get install xubuntu-desktop
sudo apt-get install kubuntu-desktop
Also, whatever I use will this be using the free space of 400GB that is not showing up under linux?
Can you please post the output of
From memory, Ubuntu should have had an option to compress the Windows partition to free up empty space, although that is best done within Windows itself. Windows seems to demand something like 60GB regardless of how little space it uses.
Tinkster , I tried fdisk -l . But it does nothing. It just prompts back the command prompt again.
Kenarkies , I am not sure how I to mount the free space under ubuntu. Also I thought that ubuntu will automatically create the partition during the install? Do I need to create the partition first inside windows and then install ubuntu server?
In slackware "-l" works w/o root permission; ubunut may be
somewhat different in that respect.
make it simple
Your current problem can be solved in 2 ways:
1. Resize partition
Use partition magic or some other software to shrink your windows partition (C: drive) and give it to Ubuntu. [Drawback: if your BIOS doesn't support non-native SATA mode, no such switch, oops, so bad, I'm not sure whether linux can resize partition or not]
2. Use windows partition in Linux
You can mount your windows C: drive in Ubuntu such that all your files on C: drive can be both accessed by windows and Ubuntu, but not at the same time. Use the Linux mount command
In fact, I've installed Ubuntu in such a way that it can both run standalone and in virtual machine (VMware) under windows, but that will be much more complicated. You're not doing that right?
Ubuntu will not automatically mount internal partitions (only external ones). To mount the Windows partition the geeky way, use the mount command. If for example "sudo fdisk -l" shows it to be /dev/sda1 (most likely) with NTFS partiton type, then create an empty directory, for example /windows, using
$ sudo mkdir /windows
$ sudo mount -t ntfs /dev/sda1 /windows
The files will all appear in /windows. However you will likely have difficulties with permissions if you try to access the files. It would be best to follow instructions such as the following (found at random by googling): http://psychocats.net/ubuntu/mountwindows. I haven't tested these but they shouldn't do any harm. You can then add a line to /etc/fstab which tells Linux what drives to mount on startup. I think the above link gives instructions for that.
Thanks for all your help. I ultimately used gparted to create seperate partitions for ubuntu and installed ubuntu on that partition.
|All times are GMT -5. The time now is 02:25 AM.|