Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-24-2002, 09:02 AM
|
#1
|
Member
Registered: Jul 2002
Location: Austin,TX
Distribution: A mash of SourceMage, Lunar, Slack, Manny, and RedHat all smushed together
Posts: 94
Rep:
|
Mounting during boot...
Installed Lunar (Great distro, btw...really fun to mess with) and am down to a few last tweaks. One of them being my disk mounting dies during boot. I get halfway through fstab, and then it fails to finish mounting disks -- something I have never encountered before. Here is my fstab -- any ideas?
=====================================================
proc /proc proc defaults 0 0
devfs /dev devfs defaults 0 0
#shm /dev/shm shm defaults 0 0
#devpts /dev/pts devpts defaults 0 0
tmpfs /var/lock tmpfs defaults 0 0
tmpfs /var/run tmpfs defaults 0 0
#olddir /newdir ext3 defaults,bind 0 0
#tmpfs /tmp tmpfs defaults,size=256m,nr_inodes=64m 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
/swapfile none swap defaults 0 0
/dev/discs/disc1/part1 /boot' ext2 defaults,noatime 0 2
/dev/discs/disc1/part2 none swap defaults 0 0
/dev/discs/disc1/part3 / ext3 defaults,noatime 0 0
/dev/discs/disc0/part1 /mnt/C ntfs ro,user,umask=0000
****DIES HERE*******
/dev/discs/disc0/part5 /mnt/D vfat rw,user,umask=0000
/dev/discs/disc2/part1 /mnt/E ntfs ro,user,umask=0000
/dev/discs/disc2/part2 /mnt/F vfat rw,user,umask=0000
==========================================================
Lunar has symlinks to /dev/hd## to /dev/discs/disc#/part#
It also likes doing interesting stuff with /devfs and /dev.
Once the machine has booted I can mount the remaining disks by simply telling 'em to mount up (or letting KDE tell 'em by just clicking on their icons). A bit stumped as to why only the first partition of HDA will mount automatically. If it died on disc2 (which is a usb drive) I'd say it had to do with modules loading late er sumthin', but it doesn't make it there...
|
|
|
12-24-2002, 09:05 AM
|
#2
|
LQ Newbie
Registered: Dec 2002
Location: Canada
Distribution: Debian, BSD, IRIX, MacOS, Solaris, AIX, HP-UX, other Unix, other Linux, other, windos (declining...)
Posts: 25
Rep:
|
"Died" how? With what messages?
|
|
|
12-24-2002, 11:03 AM
|
#3
|
Member
Registered: Jul 2002
Location: Austin,TX
Distribution: A mash of SourceMage, Lunar, Slack, Manny, and RedHat all smushed together
Posts: 94
Original Poster
Rep:
|
Well, that's a good question...the disks just don't mount. There are no error messages, except a big red FAIL next to the scripted "Mounting /dev/'etc' on..." During boot. None of the standard "bad fs..to many disks mounted...bad superblock" garbage, or anything similar. Perhaps I just don't know where to look for an explanation to the fail, but the logs don't show anything I can find.
|
|
|
12-24-2002, 11:17 AM
|
#4
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
Did you write that fstab yourself or is it a lunar setup?
|
|
|
12-24-2002, 01:55 PM
|
#5
|
Member
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
|
Quote:
Originally posted by UB_KMA
Well, that's a good question...the disks just don't mount. There are no error messages, except a big red FAIL next to the scripted "Mounting /dev/'etc' on..." During boot. None of the standard "bad fs..to many disks mounted...bad superblock" garbage, or anything similar. Perhaps I just don't know where to look for an explanation to the fail, but the logs don't show anything I can find.
|
Why dont you try and mount it manually so it'll throw the error messages at you?
|
|
|
12-24-2002, 06:26 PM
|
#6
|
Member
Registered: Jul 2002
Location: Austin,TX
Distribution: A mash of SourceMage, Lunar, Slack, Manny, and RedHat all smushed together
Posts: 94
Original Poster
Rep:
|
Mounting manually, as I said up there somewhere..."I can mount the remaining disks by just telling 'em to mount up..." using , say mount -t vfat /dev/discs/disc0/part5 /mnt/D --works fine, no errors. I'd think that my mounting commands in fstab might be the cause, however disk0/part1 mounts during boot using the same commands as the rest that won't mount, and I've used the same mount commands sucessfully forever and ever with other distros.
As to writing the whole fstab myself, the first "paragraph" of the file is a Lunar setup dealing with procfs, devfs, and tmpfs. Procfs doesn't mount properly yet either, but that is just a kernel thing I will take care of later involving file system support.
After using it in a 99% functional state for the last day though, if you will excuse me, I have to rave for a second on this disto... Lunar is fantastic if you are looking for a source based distro. The source finding scripts are easy to modify in case of problems, it's not buggy as hell like Sorcerer and you have all the options you need for getting everything together during the lengthly install process. It has some simple scripts for kernel compiling that makes changing or completely replacing your kernel a snap, too (and it automatically recompiles all progs that have been flagged as kernel header dependant when you do a new kernel if you want it to). I think, gasp, slackware may have found a replacement in my heart...
|
|
|
12-24-2002, 07:14 PM
|
#7
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
Try adding 'auto' to the options for the partitions that won't mount, and you might want to change umask=0000 to umask=000.
|
|
|
12-26-2002, 03:02 AM
|
#8
|
Member
Registered: Jul 2002
Location: Austin,TX
Distribution: A mash of SourceMage, Lunar, Slack, Manny, and RedHat all smushed together
Posts: 94
Original Poster
Rep:
|
welp, gave the "auto" thing a try and changed the umask (and recompiled my kernel to fix a few minor bugs)...no luck still. I'll keep trying different things in fstab; lots of possibilities, I suppose. Any more suggestions are appriciated, and if I find a solution on my own I'll post it.
|
|
|
12-26-2002, 05:40 AM
|
#9
|
Member
Registered: Jul 2002
Location: Austin,TX
Distribution: A mash of SourceMage, Lunar, Slack, Manny, and RedHat all smushed together
Posts: 94
Original Poster
Rep:
|
AAAAAAArgh!
You'd think after doing it so many times -- I have lost hope in myself
If you look at my frinking danged fstab above you'll see I put in umask=0000
Needs to be in format umask=0 0 0 with spaces.
Thanks for the feedback tho...
|
|
|
12-26-2002, 05:52 AM
|
#10
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
Funny.......mine is umask=000....with no spaces....but with only three zero's not four........
|
|
|
12-27-2002, 02:02 AM
|
#11
|
LQ Addict
Registered: Jun 2001
Posts: 1,183
Rep:
|
Aussie, I don't believe that it's the format of the ' umask= ' option that's the problem, but the fact he doesn't have the fifth and sixth fields at the end of the last four lines of his fstab file. Adding the spaces like he did solved the problem.
|
|
|
12-27-2002, 02:25 AM
|
#12
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
Bingo lc!
Code:
/dev/hda1 /mnt/win32 vfat auto,users,rw,umask=000 1 0
that's the format I have,
Code:
/dev/discs/disc0/part1 /mnt/C ntfs ro,user,umask=0000
and that's the format that was causing the problem,
Code:
/dev/discs/disc0/part1 /mnt/C ntfs ro,user,umask=000 1 0
this should be the correct format.
I blame too much x-mas cheer (courtesy of Uncle Johnny Walker) for missing the obvious :-)
|
|
|
All times are GMT -5. The time now is 03:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|