LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-21-2005, 12:59 AM   #1
dwhawk
LQ Newbie
 
Registered: May 2005
Posts: 7

Rep: Reputation: 0
what edits fstab & mtab during boot?


My latest Mandrake 10.1 installation has added some partitions from another Mandrake 10.1 installation on one of my SCSI drives . It added the swap partition and a partition that was mounted as /home in the other installation .

I removed the lines that referenced the other partitions from the SCSI drive and logged out and logged back in. I checked the fstab and mtab files and they were still changed. I then rebooted and then the lines that referenced the partitions on the SCSI drive were back.

Other than removing the SCSI host adapter, how do I prevent the new installation from adding the SCSI partitions?
 
Old 05-21-2005, 01:57 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You probably want to check the logs during bootup. coldplug, hotplug, kudzu and udev may be terms to search for. The /etc/mtab file is dynamic and represents what is mounted. It's changing is not the solution you are looking for. Hotput first goes through the coldplug list to mount things during boot and later may add additional devices. If this is a fixed device and not a usb/scsi device, then the hotplug system may not be the culprit. Kudzu is the daemon that Mandrake uses to detect new devices during bootup. You may want to read the info pages for all of these items and make a note of any of their associated setup files. Also you could mount the initrd file somewhere and check the linux.rc script. A SCSI driver/device may be detected that early.

Last edited by jschiwal; 05-21-2005 at 02:01 AM.
 
Old 05-21-2005, 03:44 AM   #3
dwhawk
LQ Newbie
 
Registered: May 2005
Posts: 7

Original Poster
Rep: Reputation: 0
re: what edits fstab & mtab during boot?

>>what edits fstab & mtab during boot?


Quote:
Originally posted by jschiwal
You probably want to check the logs during bootup. coldplug, hotplug, kudzu and udev may be terms to search for. The /etc/mtab file is dynamic and represents what is mounted. It's changing is not the solution you are looking for. Hotput first goes through the coldplug list to mount things during boot and later may add additional devices. If this is a fixed device and not a usb/scsi device, then the hotplug system may not be the culprit. Kudzu is the daemon that Mandrake uses to detect new devices during bootup. You may want to read the info pages for all of these items and make a note of any of their associated setup files. Also you could mount the initrd file somewhere and check the linux.rc script. A SCSI driver/device may be detected that early.
I know about dmesg to see some of the boot information, but not any other logs. Where do I find out about the others?

I did find that disabling the partmon service stopped the editing of fstab ..
 
Old 05-21-2005, 08:30 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
It sounds like you found the solution. I don't see how this is much of a problem however.
 
Old 05-21-2005, 11:50 PM   #5
dwhawk
LQ Newbie
 
Registered: May 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by jschiwal
It sounds like you found the solution. I don't see how this is much of a problem however.
After I did the Mandrake 10.1 installation, I did not see any device icons on the desktop - mainly the CD/DVD icons.

I looked at the fstab and the references to the CD/DVD drives were there, but there was also a reference to a windows partition and I don't have any form of windows on my pc. The windows partition was actually a OS/2 bootmanager partition and there was no reason for mandrake to even know it was there or try to access it. When I removed that line from the fstab file, and logged off and back on, the device icons appeared on the desktop. When I rebooted, the device icons were gone and the reference to the "windows" partition was in the fstab. There was also a reference to a /mnt/hd partitonin the fstab that I did not create during the install process. That partition was actually a /home partition of a previous Mandrake 10.1 installation made before I changed
my motherboard . The problem with fstab changes only happened after I changed the motherboard.

I have multiple operating systems installed, and I want to be the one who decides when files or partitions are shared.
 
Old 05-22-2005, 05:54 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
For devices to appear on the desktop, you need to enable that in the KDE setup. Configure Desktop -> Behaivior -> Device Icons (Tab).
 
Old 05-22-2005, 01:26 PM   #7
dwhawk
LQ Newbie
 
Registered: May 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by jschiwal
For devices to appear on the desktop, you need to enable that in the KDE setup. Configure Desktop -> Behaivior -> Device Icons (Tab).
AFAIK, the default setting is for all the device icons to appear. When I checked, they were all selected.
 
Old 05-24-2005, 06:09 PM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I am not near the computer that has mandrake on it, so I can't check before hand. However, is there a man page or how to on the partmon service. There may be a configuration file that allows you to blacklist certain partitions. Check the FAM documentation also. Often, there are notes, readme files, etc in /usr/share/doc/packages/<packagename>/
 
  


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
/etc/fstab or /etc/mtab praveenv Linux - Newbie 1 08-17-2004 04:03 AM
use mtab as fstab?hi rgiggs Mandriva 5 06-08-2004 12:47 PM
Changed fstab/mtab - system won't boot... biased99 Red Hat 5 04-26-2004 05:40 PM
Confirmation of mtab & fstab dogmonkey Linux - Software 3 12-11-2002 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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