LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-30-2009, 06:11 PM   #1
cybrnitro
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
Red face Cannot get slackware 12.2 to mount Ext. HD


Ok so i have a macbook and i have a an external hd that i want to install slackware on. the hd in the notebook does not work so im using an external till i get a new one, or a new logic board. so i have tryed mount /dev/sda1 ... and it says that it cannot not find it in the /etc/fstab . i did a dmesg and it shows that the computer has recognized it. HELP

Last edited by cybrnitro; 01-30-2009 at 06:12 PM.
 
Old 01-30-2009, 06:23 PM   #2
vinnywrite
Member
 
Registered: Jan 2007
Location: lexington NC.
Distribution: Ultimalinux 8.4 & Slackware 12.0.0
Posts: 82

Rep: Reputation: 16
it mite be looking for some ware to mount it on!!!!

try as root

Code:
mkdir /mnt/sda1
mount /dev/sda1 /mnt/sda1
you may half to tell it what file system to with the -t switch like so

Code:
mount -t ntfs /dev/sda1 /mnt/sda1
 
Old 01-30-2009, 06:35 PM   #3
sw67
Member
 
Registered: Oct 2004
Location: Here
Distribution: Slackware 12, openSuSE 11.0, XP
Posts: 76

Rep: Reputation: 15
As vinnywrite said, unless the disk (partition) is in the fstab file, you need to specify where to mount to.
/etc/fstab contains a list of definitions so that the kernel can mount them itself, or know where to mount them when requested.

To mount your partition temporarily, you'd do as above - create a place for it to mount in, then tell it to mount there explicitly.
You can try
Code:
mount -t auto /dev/sda1 /mnt/sda1
or replace auto with the filesystem if it doesn't autodetect.

If you want it to automount, or mount like you initially tried, look into adding an entry to the fstab file
 
Old 01-30-2009, 06:36 PM   #4
cybrnitro
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Original Poster
Rep: Reputation: 0
yea i tryed all that. i tryed all kinds of stuff. i have been able to fdisk /dev/sda1 and creat my linuxswap and my linux partitons

but when i go into setup it imeditly comes up and says there is no linux partions on this machine.

so im guessing it keeps looking into the hd that is on the computer and that hardrive has shit the bed. so what do u suggest
 
Old 01-30-2009, 07:05 PM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
this is a boot problem and lilo needs to be pointed to the drive but one problem you have to be able to load the drivers for the system to see the usb device or to load the usb conttrolers. if you can go into bios and set it up to boot from the usb drive cool but what it looks like is you have lilo so make sure your /etc/lilo.conf file
Quote:
image="/boot/vmlinuz"
root="/dev/sdb1"
label="Linux"
read-only
so if your hard drive is dead go into bios and disable it other wise if you have a scsi or sata drive your external will be sdb1
the correct fstab for a root partition is for device drive sdb1 is.
Quote:
/dev/sdb1 / ext3 defaults 1 1
device root---> / file system
If you are booting from the cdrom then you need to boot the huge kernel and and point it to your drive. if you are booting from a floppy sorry no floppy booting of the stock hugesmp kernel.

Last edited by Drakeo; 01-30-2009 at 07:08 PM.
 
  


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
cant mount ext. hard drive BerikTheMighty Linux - Hardware 4 10-15-2008 05:49 AM
MDK 9.2 cannot mount Ext USB hard drive dr_skids Linux - Hardware 0 11-06-2005 11:56 AM
Unable to mount ext slice at boot (RH9) Sigkill(9) Linux - Hardware 5 10-06-2005 12:10 PM
Cannot Mount Ext. USB Hard Drive sall Linux - Hardware 32 07-15-2005 11:19 AM
Apache and Frontpage Ext in Slackware nemesisza Linux - Software 0 01-03-2005 11:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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