LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 07-14-2010, 02:32 PM   #1
enoscent
LQ Newbie
 
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
gentoo install with minimal CD giving " no such file or directory " while mke2fs


Hi ,I want to "really" learn linux so I decided to go for gentoo .not ubuntu . So plz go easy with me :P
I used unetbootin In windows 7 to make a 4 GB live USB with gentoo minimal .
So I have a 120 GB disk 0 :
c:30 gb
d: 20gb
e:20 gb
f:20gb
h:25gb ...this is where i want to install gentoo and i found out using fdisk that this is sda6 .

I logged in and created partitioins as given i handbook all right and i got three sub-partitions:

/dev/sda6p1..boot
/dev/sda6p2 ...swap
/dev/sda6p3...root

and when as pr the book i went to create filesystem so i type "
#mke2fs /dev/sda6p1
mke2fs 1.41.9 [august 09] --no such file or directory

but! when i do :

#fdisk /dev/sda6

command : p
I get a partition table showing me the three partitioins so what`s wrong ??? I re-read the handbook yet I don`t get it .

Plz help guys
 
Old 07-14-2010, 06:05 PM   #2
MrChilly0
Member
 
Registered: Jan 2007
Location: midwest USA
Distribution: gentoo w/ funtoo overlay
Posts: 146

Rep: Reputation: 23
I went with gentoo shortly after it's release in '02...you will learn alot.

Basically, you can only have 4 primary partitions on a hard drive. So to get around this, you can use LVM. Select sda6 in cfdisk, and change it's ID to linux LVM. Then (if I remember right) cfdisk will show "empty" after sda6 when you list the partitions. Now create logical partitions to suit your needs. NOTE: your /boot MUST be on a primary partition or it will not work.
 
Old 07-14-2010, 08:19 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,145

Rep: Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124
You can't subdivide a logical partition like that. fdisk works on devices, not partitions - hence "fdisk /dev/sda6" is non-sensical as fdisk is now trying to treat /dev/sda6 as a disk device.

Use "fdisk /dev/sda" and delete partition 6 - then proceed as per the handbook, but create partitions 6,7 and 8 instead of 1,2 and 3 the handbook uses as examples. Use your numbers everywhere sda1, sda2 and sda3 are referenced.
/boot does not need to be a primary partition - the above will work fine.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"bad interpreter : no such file or directory" when configure "flex" acer_peri Linux - Software 10 11-10-2010 01:19 AM
giving search-string(s) from a file to linux "find" command Fond_of_Opensource Linux - Newbie 3 02-02-2009 06:14 PM
"netconfig: command not found" in minimal install of Slack 12 sandugo Slackware 1 07-29-2007 09:11 AM
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 04:32 PM
error while trying to install program: "X11/Xlib.h: No such file or directory" nate1 Linux - Newbie 3 05-21-2004 08:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 08:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration