View previous topic :: View next topic |
Author |
Message |
Imaginair n00b
Joined: 17 Jan 2003 Posts: 20
|
Posted: Fri Jan 17, 2003 7:09 pm Post subject: Problems making a filesystem... |
|
|
Hi,
I've been looking on the web and in this forum for a similar question but i couldnt find one so i think im being stupid.
I am installing Gentoo at the moment on a 200mmx i586 i got as far as making the partitions and they look as follow:
Code: |
hda 1 primary boot linux 98mb
hda 3 primary linuxswap 600mb
hda 2 primary linux ~3700mb |
now it says i should reboot so i do... booting again with the cd, i do the net-setup eth0 again then i tryed to do:
dd if=/dev/zero of=/dev/hda1 bs=1K count=1
for all partitions
then i try to eithe rput ext2 or 3 on both hda1 and hda2, the swap filesystem always seems to work ok, but mostly on hda2 it likes to get stuck on: "Writing superblocks and filesystem accounting information:"
and i cant get on... it does say in cfdisk that it has the ext2, but im not so sure it is complete...
can anyone please help me (sorry if its a stupid question)
Cheers,
Mark |
|
Back to top |
|
|
lghman Guru
Joined: 29 Nov 2002 Posts: 548 Location: Florida
|
Posted: Fri Jan 17, 2003 8:18 pm Post subject: |
|
|
Quote: | now it says i should reboot so i do |
Now what says that you should reboot?? I just looked at the install documentation and I sure didnt read anything about rebooting DURING the install. I know i didnt when i did my 3 machines.
By the way by running:
Code: |
dd if=/dev/zero of=/dev/hda1 bs=1K count=1
|
that USUALLY replaces even the filesystem information that fdisk or cfdisk writes.
--sonik |
|
Back to top |
|
|
Imaginair n00b
Joined: 17 Jan 2003 Posts: 20
|
Posted: Fri Jan 17, 2003 8:35 pm Post subject: |
|
|
Quote: | Note: If fdisk or cfdisk instruct you to do so, please reboot to allow your system to detect the new partition configuration. |
And cfdisk just did that, cause it couldnt read what it just wrote.
I know that command clears a lot but not the partitions and i didnt even do the filesystems yet.
Cheers,
Mark |
|
Back to top |
|
|
rtn Guru
Joined: 15 Nov 2002 Posts: 427
|
Posted: Fri Jan 17, 2003 9:18 pm Post subject: |
|
|
Try reformatting with (c)fdisk, rebooting if necessary, and then making
your filesystems without using the dd.
--rtn |
|
Back to top |
|
|
Imaginair n00b
Joined: 17 Jan 2003 Posts: 20
|
Posted: Sat Jan 18, 2003 5:19 pm Post subject: |
|
|
maybe stupid but how do you format in fdisk?
Mark |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Sat Jan 18, 2003 6:39 pm Post subject: |
|
|
With fdisk I don't know, but I use mkfs
See "man mkfs" for details.
Imaginair wrote: | maybe stupid but how do you format in fdisk?
Mark |
_________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
Imaginair n00b
Joined: 17 Jan 2003 Posts: 20
|
Posted: Sat Jan 18, 2003 6:56 pm Post subject: |
|
|
I decided to format windows on my other drive instead and put linux on that ... that works fine... i think maybe the harddisk is a bit broke?
Cheers,
Mark |
|
Back to top |
|
|
|