LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-22-2012, 01:10 PM   #1
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Rep: Reputation: 196Reputation: 196
Gentoo install does not see /dev/sda1


I plan on putting everything on that one partition for / and already have a home partition which i plan on mounting after the install.

Cfdisk sees /dev/sda1 fine. That partition is already lilsted in cfdisk as xfs. Yet when i try to mount it, i get the error "no such file or dir /dev/sda1". i have no trouble mounting that partition when booted to my vector linux install. when booted to vector the mount command lists that partition as
/dev/sda1 on /test type xfs (rw)

Help. I havent had a gentoo install in years and im looking forward to it.

im using the latest amd64 minimal iso on a dual core pentium d.

EDIT: i just booted up the install routine and the error message from mount is:"special device /dev/sda1 does not exist"
 
Old 05-22-2012, 04:24 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,101
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Try /dev/sda instead of /dev/sda1.
 
Old 05-22-2012, 09:53 PM   #3
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Original Poster
Rep: Reputation: 196Reputation: 196
i think mount requires that a specific partition be named. i tried mounting other partitions on /dev/sda and got the same error, despite /dev/sda being listed in /dev, and specifying the file type.
 
Old 05-22-2012, 11:01 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Let's see "parted -l" (as root) from both systems. Use [code] tags when replying.
 
Old 05-22-2012, 11:45 PM   #5
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Original Poster
Rep: Reputation: 196Reputation: 196
Quote:
Originally Posted by syg00 View Post
Let's see "parted -l" (as root) from both systems. Use [code] tags when replying.
Here is the output from parted when booted to vector:
Code:
[root@thor:test]$parted -l /dev/sda
Model: ATA WDC WD2500JD-19H (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system     Flags
 1      32.3kB  50.0GB  50.0GB  primary   xfs             boot
 2      50.0GB  250GB   200GB   extended
 5      50.0GB  114GB   64.0GB  logical   xfs
 6      114GB   245GB   131GB   logical   xfs
 7      245GB   250GB   5049MB  logical   linux-swap(v1)


Error: /dev/md0: unrecognised disk label                                  
Warning: Error fsyncing/closing /dev/md0: Input/output error              
Retry/Ignore?
the listing for parted -l /dev/sda while booted to the gentoo install is identical except for the warning at the end.

Here is something interesting tho, while booted to vector:
Code:
[root@thor:m0rl0ck]$fdisk -l /dev/sda

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4b0c250a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    97659134    48829536    7  HPFS/NTFS/exFAT
/dev/sda2        97659135   488392064   195366465    5  Extended
/dev/sda5        97662976   222586879    62461952   83  Linux
/dev/sda6       222588928   478527487   127969280   83  Linux
/dev/sda7       478529536   488390655     4930560   82  Linux swap
so fdisk is seeing it as a windows partition while parted and cfdisk are seeing it as xfs. It did originally have XP on it.

Last edited by fogpipe; 05-22-2012 at 11:59 PM.
 
Old 05-23-2012, 12:13 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
That'll do it to you.
The partition (type) id is rarely used (as you can see from parted), but it is sometimes. Linux won't install to NTFS - I think it will to VFAT, but why .... ???.
Change it to Linux - can be done on the fly without harm, but personally I'd do it from the liveCD (i.e.unmounted).
 
1 members found this post helpful.
Old 05-26-2012, 02:49 AM   #7
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Original Poster
Rep: Reputation: 196Reputation: 196
Heres the update. I called it quits on installing gentoo and took it back up again earlier tonight. I installed gentoo chrooted from vector linux instead of booted to the cd and im currently using firefox Xforwarded over ssh from my old celeron machine on the gentoo install while XDM and all its dependencies emerge. I emerged just enough to get fluxbox going with startX.

The drive appears to have settled down but my gentoo install stops during the boot and asks me to specify a root device, i think i can fix that but it may become another topic. thanks for the help

Last edited by fogpipe; 05-26-2012 at 02:54 AM.
 
  


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
Technical question: /dev/sda1 vs /mnt/sda1 macnab Linux - Newbie 5 01-03-2012 04:58 AM
GRUB root="/dev/sda1' does not exist. gentoo installation problem ununun Linux - General 2 08-01-2011 08:30 PM
USB drive... /dev/sda1 doesn't show unless I try mounting /dev/sda as vfat finite Linux - Hardware 8 03-10-2009 12:52 AM
Mint 6 install fails to boot dev/sda1/ does not exist JimboJuggs Linux - Distributions 9 03-06-2009 08:57 AM
How can I install Grub to /dev/sda1 stardotstar Linux - Software 3 02-13-2006 09:55 PM

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

All times are GMT -5. The time now is 09:42 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