LinuxQuestions.org
Register a domain and help support LQ
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 12-09-2003, 11:35 PM   #1
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 932

Rep: Reputation: 32
Make Me a Simlink


How do I make a Simlink? One such Simlink I want is between devices. I installed Linux on another system and moved the hard disk (only way to do this with this hardware). Since the hard disks are in diferent places, it's expecting my CDROM to be on HDB when it's probably on HDC. How do I make it go to HDC when it looks at HDB? (I hear this is like telling it to look in the /home/web folder when you go /etc/weblocal)
 
Old 12-09-2003, 11:53 PM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
You should, instead of making symlinks, update /etc/fstab to reflect the new disk configuration.
 
Old 12-10-2003, 11:01 PM   #3
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 932

Original Poster
Rep: Reputation: 32
...and then Mandrake Control Center wants me to put my disk in HDB... Hadn't worked yet.
 
Old 12-10-2003, 11:23 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
here's a few links that might help you better understand fstab configuration:

http://www.die.net/doc/linux/man/man5/fstab.5.html

http://www.linuxplanet.com/linuxplan...orials/4232/1/

http://www.debian.org/doc/manuals/de.../ch-disks.html
 
Old 12-10-2003, 11:25 PM   #5
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
well not exactly sure what the mandrake control center is trying to put but if you're sure the entries in /etc/fstab are correctly then thats it.
Otherwise if you really want to play with symlinks you need to delete /dev/hdb and
for example ln -s /dev/hda /dev/hdb, of course this isn't recommended cus you've just deleted the device file for hdb.
type 'dmesg' and see if your CDROM is assigned to hdb or hdc
 
Old 12-11-2003, 11:12 PM   #6
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 932

Original Poster
Rep: Reputation: 32
/dev/hdb vanished when I changed configurations, and I changed the fstab to suit the new config. ...but when I use drakconf (Mandrake Control Center), it wants the CDROM to go in /dev/hdb (which don't exist anymore). Having the CDROM in the CD drive (/dev/hdc now) does nothing. I'm still working on the fstab to get it mountable. I've done some playing with my fstab on my "big machine" because I was trying to get to some old filesystems from my reloading process I just went through. Now I have them all in various points in /mnt on my big box, but that's a story for another time.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 01:18 AM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 04:01 AM
I accidentally deleted make file in /usr/local/bin, now cannot use make command.... Niceman2005 Linux - Software 2 11-17-2004 08:55 PM
How to make rule for make install and make uninstall melinda_sayang Programming 1 06-14-2004 06:58 AM
make dep,make clean,make bzImage problem Babba Linux - Newbie 2 01-08-2003 04:49 AM


All times are GMT -5. The time now is 09:08 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration