LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux Installation (https://www.linuxquestions.org/questions/linux-newbie-8/linux-installation-4175412322/)

shayan99 06-19-2012 02:34 PM

Linux Installation
 
I added a 160GB internal hard disk to my computer to install fedora 15. But at the time of partition it says not enough disk space. My new internal HD shows 148GB of free space. Plzz help with the installation.

CincinnatiKid 06-19-2012 02:48 PM

What is on the first Hard drive, Windows?

If this is the case then most likely during the partition management you may want to select Custom Layout. Your second hard drive will most likely be labeled as SDB (double check though so you don't overwrite Windows).

Select SDB and Click "Create" button and create at least one partition with the Mount point as / (root). You can use as much of the drive as you want, just select the size.

Let us know if you have trouble.

Edit:

You probably want to select ext4 as the partition type

select / as the mount point.

shayan99 06-20-2012 01:11 AM

on the first hard disk there is windows

deep27ak 06-20-2012 01:59 AM

Quote:

Originally Posted by shayan99 (Post 4707470)
on the first hard disk there is windows

In that case you will have empty some space and create a free partition from your windows machine so that you can use two OS.

szboardstretcher 06-20-2012 02:03 AM

ObviousTip: Remember to make a backup of anything important before you go making, removing partitions or installing an OS.

shayan99 06-20-2012 02:31 AM

My second hard disk is shown as
sda(/dev/sda)
size type
sda1 152562 ntfs
free 1

and now when i create the partition for "/" error comes "could not allocate requested partition not enough free space on disk" Help!!

deep27ak 06-20-2012 03:29 AM

attach the new HDD and login to your windows machine
go the device manager--> disk management
and check if the hard disk is successfully attached and is working

Once its done you can start with the installation on the new HDD

shayan99 06-20-2012 04:28 AM

The device is working properly and is being shown as G: in windows

deep27ak 06-20-2012 04:35 AM

In that case reboot your machine with linux DVD and at the partition step choose custom partition and manually assign the hard disk space for the new OS.

Make sure to recognize the difference between your existing partition and the new partition
as said above you will see partition of two types may be
sda and sdb or hda and hdb
so make sure to choose the right hard disk before creating custom partitions

CincinnatiKid 06-20-2012 07:39 AM

Once you choose the correct disk during the fedora setup, you will have to delete whatever partition is cleared up to be able to add /. WARNING: do not delete your Windows partition on your First hard disk.

cascade9 06-20-2012 08:33 AM

Quote:

Originally Posted by deep27ak (Post 4707494)
In that case you will have empty some space and create a free partition from your windows machine so that you can use two OS.

No, you dont.

Quote:

Originally Posted by shayan99 (Post 4707510)
My second hard disk is shown as
sda(/dev/sda)
size type
sda1 152562 ntfs
free 1

and now when i create the partition for "/" error comes "could not allocate requested partition not enough free space on disk" Help!!

Quote:

Originally Posted by shayan99 (Post 4707577)
The device is working properly and is being shown as G: in windows

You've formatted the drive as NTFS. Linux cant install to NTFS, which is why you are getting 'not enough disk space'.

Delete the partition, and use the free space to install linux.

BTW, I'd suggest changing the boot order in your BIOS so that the empty disc is the 1st to boot. Leave the windows bootloader in the windows drive. GRUB should pick up the windows install and give you the option to boot to windows. IMO that is easier (and safer) than installing GRUB to the MBR of your windows drive.

shayan99 06-20-2012 12:54 PM

pheww!!! i tried with "Use all space" and it started installing Fedora at last. Thank God.
Anyways...will it create any problem in future??


All times are GMT -5. The time now is 01:36 AM.