Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-08-2003, 03:39 PM   #1
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, 03:58 PM   #2
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, 05:35 PM   #3
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

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, 06:58 AM   #4
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, 12:08 PM   #5
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

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


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

All times are GMT -5. The time now is 07:03 AM.

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