LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-08-2003, 02:39 PM   #1
alkota
LQ Newbie
 
Registered: Apr 2003
Posts: 1

Rep: Reputation: 0
/etc/fstab Entries for my hardrives and booting


In my /etc/fstab file, I have entries for my /boot and /root partitions listed as something like /BOOT rather than /dev/hda7... Should and can I manually change this? I want the partitions to appear as /dev/hdx

I made the partitions using Partition Magic in XP, and installed the OS using Redhat 8... Im trying to compile a new kernel now and am encounter problems... I know whats going wrong, I just want to keep my /etc/fstab file consistent with a typical one...
 
Old 04-08-2003, 02:58 PM   #2
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30
[yes master 1nfamus?]$cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdb3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hdb4 /mnt/winfat vfat umask=000 0 0

-maybe taht helps u? that is what i have.
 
Old 04-08-2003, 04:35 PM   #3
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 587

Rep: Reputation: 32
Yes, you can change BOOT to dev/hda7

During partitioning (f.ex. using fdisk) you can name (put the label) the partition so label became the /dev/hd... synonym

Theoretically labeling is more flexible - if you make your hda drive to be hdb drive (by adding another drive) the labels will be kept same whereas using /dev/... identifiers you need retype some of the fstab lines
 
Old 04-10-2003, 05:58 AM   #4
dfbreyes
LQ Newbie
 
Registered: Apr 2003
Location: Makati, Philippines
Distribution: RedHat, SuSE, Gentoo
Posts: 25

Rep: Reputation: 15
this isn't a reply, its another question about /etc/fstab

I have Sony CD-writer...and recompiled the kernel for my RedHat 7.3...used 2.4.19
<*> Enhancec IDE/MFM/RLL disk/cdrom/tape/floppy support
< > Include IDE/ATAPI CDROM support
<*> SCSI emulation support

<*> SCSI support
<*> SCSI CD-ROM support[*] Enable vendor-specific extensions (for SCSI CD-ROM)
<*> SCSI generic support

I can mount cdroms on my cd-writers, but cannot on my regular Asus 40x cd-rom drive....neither cd-drive is scsi...I think they're just treated as scsi drives

How should my etc/fstab entry look like?
 
Old 04-10-2003, 11:08 AM   #5
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 587

Rep: Reputation: 32
"this isn't a reply"
I've written "Yes, you can change BOOT to dev/hda7" For you it is not a reply?

regarding the CD writer - I do not know (never tested). I'v read the it should be installed as scsi device
 
  


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
Immortal fstab entries tmoorman Mandriva 1 02-05-2005 02:52 AM
Remount using fstab entries keimdf Linux - Newbie 5 12-22-2004 06:48 AM
fstab file entries what do they mean? bgagnon Suse/Novell 2 11-12-2004 02:23 PM
Entries in /etc/fstab kamransoomro84 Linux - General 6 05-05-2004 09:32 AM
Stupid Q about Hardrives and Booting flamesrock Linux - Hardware 2 03-09-2004 10:39 PM


All times are GMT -5. The time now is 03:20 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration