View previous topic :: View next topic |
Author |
Message |
addict Guest
|
Posted: Wed Aug 07, 2002 12:12 pm Post subject: vmware & fdisk help |
|
|
Hi, i'm trying to install gentoo 1.2 in vmware.
I'm at the point where i must create partitions with fdisk, but i cant do
fdisk /dev/hda
I get
unable to open /dev/hda
I also tried fdisk /dev/sda
But only fdisk /dev/root works?
can anybody help this newbie?
I dont know much about fdisk..
thnx |
|
Back to top |
|
|
phantasm n00b
Joined: 21 Jun 2002 Posts: 71 Location: Cincinnati
|
Posted: Wed Aug 07, 2002 2:43 pm Post subject: |
|
|
First you have to insmod sd_mod so that you can have your scsi modules load then you can fdisk /dev/sda, when you compile your kernel be sure to build in the buslogic scsi module |
|
Back to top |
|
|
addict Guest
|
Posted: Wed Aug 07, 2002 3:58 pm Post subject: |
|
|
Hmm, that worked thanks.
But my virtual disk looks verry small..
If I do fdisk /dev/sda
and then p
it says
Disk /dev/sda: 255 heads, 63 sectors, 1305 cylinders
Units = cylinders of 16065 * 512 bytes
??
my virtual disk should be 10GB.. |
|
Back to top |
|
|
GurliGebis Retired Dev
Joined: 08 Aug 2002 Posts: 509
|
Posted: Thu Aug 08, 2002 11:31 am Post subject: |
|
|
Just make a virtual IDE disc instead of a SCSI disc.
When you come to the disc size dialog, click Advanced, and select IDE instead of SCSI. _________________ Queen Rocks. |
|
Back to top |
|
|
nE0 Tux's lil' helper
Joined: 08 Aug 2002 Posts: 146 Location: The Netherlands, Breda
|
Posted: Fri Aug 09, 2002 11:37 am Post subject: |
|
|
addict wrote: | Hmm, that worked thanks.
Disk /dev/sda: 255 heads, 63 sectors, 1305 cylinders
Units = cylinders of 16065 * 512 bytes
??
my virtual disk should be 10GB.. |
this counts up to 10236,73095703125 MB
so 10Gb is ok.
just create your partitions, it will work.
fdisk /dev/sda
n (new partition)
p (primary partition)
1 (1st partition)
<enter> (default starting point)
+50M
(that was your boot partition)
n
p
2
<enter> (default starting point)
+256M
(that's your swap)
n
p
3
<enter> (default starting point)
<enter> (default endpoint, is the remaining)
now change the partition ID's from your partitions to linux and swap. (82 & 83)
also don't forget to set the boot flag foor /dev/sda1
goodluck _________________ All things considerring! I'm considerring to...never mind! |
|
Back to top |
|
|
|