Debian Configuration :: LVM Partitions Not Getting Mounted At Boot Time

Apr 18, 2010

I have two partitions in LVM. They are added in /etc/fstab to mount automatically. But, they are not working. The process to mount partitions seems to be happening before the service /etc/init.d/lvm2 is started. I can get it mounted using "mount -a" command, but not during the boot time. What should I do get it automatically mounted on every boot?

View 5 Replies


ADVERTISEMENT

Debian Installation :: All Partitions Mounted At Boot Time (Squeeze)

Dec 5, 2010

I am using Gnome and Squeeze. I am wondering if I have a problem of understanding, or a problem that I found with Gnome.

My configuration is with a 3 hard disk system.

disk1 (Debian)
disk2 (XP and Fedora)
Disk3 (W7 and a Data partition)

When I boot and log in, all partitions for disk2 and disk3 are mounted read-write. Only by going to command line am I able to unmount the drives with the following sequence

cd /media
umount *
umount *

I should be able to mount and umount a drive by providing or responding to a root password. But I am not given the option to present a password. My request is blocked.

I also do not want to see the drives remounted after a boot. I tried to find out how this was managed, but I was unable to discover the module and it's parameter list that controls or does this task.

View 1 Replies View Related

Debian :: How To Find Out Mounted Devices Loaded At Boot Time

Apr 20, 2010

I am trying to find out the command to list all the devices mounted at boot-time.

View 5 Replies View Related

Ubuntu :: How To Have Partitions Auto-mounted At Boot

Mar 19, 2011

Does anybody know how to have partitions (not removable media) auto-mounted at boot?It would be great so I do not have to click them for first use.By the way, may it be pre-configured in ubuntu to do that for everyone?

View 1 Replies View Related

Debian Configuration :: Resolvconf - Does Not Start At Boot Time

May 1, 2010

I'm running Debian Etch AMD64, and currently trying to clean up my system in preparation for an upgrade to Lenny. One problem I have is that resolvconf (which is installed) does not start at boot time, but if I start it manually then bring the NIC down and back up, it works OK, with no error/warning messages.

View 9 Replies View Related

Debian Configuration :: Mount Smbshare At Boot Time?

Oct 13, 2010

A windows server named SRV is sharing folders for each users in /share/From a Debian computer on network logged with the user session "foo" I can mount the remote directory /share/foo with:smbmount //SRV/share/$LOGNAME /remote_directorythen the prompt ask me for password and when I have gave it the remote directory is mounted correctly.Now I would like to make this at boot time.If I put the same command in the .bashrc, when I boot, the remote directory is not mounted when the session is opened but then if I open a console, it ask me for password and the directory is mounted.This way is not convenient and it would be better if the directory is mounted when the user open his session and using the same password.The point is that every user should have a his own remote directory mounted when the session is opened.

View 2 Replies View Related

Debian Configuration :: Create A Ramdisk At Boot Time?

Jun 1, 2011

On Debian Etch I used to understand how to change boot kernel parameters with Grub. You could just edit menu.lst.

With the newer Grub in Squeeze I am without a clue! I want to set up a ramdisk, say 128 Megs in size, and add that to my boot parameters so that it is created every time the machine starts. Do I set something in /etc/default/grub ?

View 3 Replies View Related

Debian Configuration :: Disabling Boot-time Messages?

Jul 17, 2011

I'm trying to stop all boot time messages from appearing -- basically I'd like to have a simple blank screen from grub to xdm.

I tried everything -- used the "quiet" option in grub's config, added dmesg -n 1 to rc.local, changed console=ttySx, set kernel.printk in sysctl.conf to 4 1 1 7, and even eradicated rsyslogd altogether... to no avail. I still see all sorts of messages on my screen.

View 1 Replies View Related

Debian Configuration :: Make Vino Start At Boot Time?

Jan 5, 2010

so as my title implies I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot

View 2 Replies View Related

Debian Configuration :: Statd Takes Too Long At The Boot Time

Mar 25, 2010

Since recently statd at the boot time takes, more then 30s or even more.

It is laptop configuration, no NFS server(?) lenny with few installs from backports (open office and .30 kernel - for Intel 5300) vmwware (7), as well firestarter firewall

Can I disable it or change the boot order (via sysv-rc-conf ), so I can speed up my boot time?

View 2 Replies View Related

Debian Configuration :: CIFS Mount At Boot Time Fail?

Nov 20, 2010

Running Debian stable. I added the following command to rc.local and made it executable:mount -t cifs -o username=ted,password=computer,uid=mooreted,gid=users "//192.168.1.121/Storage Volume" /mnt/vortexAfter rebooting dmesg throws the following error:

[ 21.400697] CIFS VFS: Error connecting to IPv4 socket. Aborting operation
[ 21.400708] CIFS VFS: cifs_mount failed w/return code = -101

However, if I run the command as root after the system boots it works fine.Been using this method on other distros for over a year. No idea what the problem is.

View 4 Replies View Related

Debian Configuration :: Apache2 Doesn't Start At Boot Time?

Dec 6, 2010

I am running Debian-Squeeze with apache2. However, apache2 doesn't start at boot time, even though there is of course the required script in init.d. I can start it later on using "/etc/init.d/apache2 start". I have checked the configuration with "apachectl configtest" - giving the answer "Syntax ok". How do I get it to start automatically at boot time?

View 1 Replies View Related

Debian Configuration :: How To Make Vino Start At Boot Time

Mar 3, 2010

I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot.

View 3 Replies View Related

Debian Configuration :: Change The Automatic Fsck Execution At Boot Time To Be Above 30 Boots?

Aug 27, 2010

How can I change the automatic fsck execution at boot time to be above 30 boots? I reboot the system sometimes 3 to 4 times a day. Intel 3 GHz, tower, i386 lenny vmlinuz-2.6.31-686

View 2 Replies View Related

Debian Configuration :: "Squeeze" - Trigger "Check Disk" During Boot (before Filesystem Is Mounted)?

Nov 20, 2010

as far as i know Debian "Squeeze" has a disk check utility, but you can't run this on a mounted filesystem. Is there a way to trigger this during boot (before filesystem is mounted) ? I can run this once a month to keep filesystem healthy....

View 2 Replies View Related

Debian Configuration :: Restore From Hibernate Fails From Time To Time?

Apr 28, 2011

I have a Insprion 14R (N4010) and when I hibernate it will usually restore without a problem, but maybe 15% of the time it will reboot while loading. I would like to figure why, since I'd rather not lose anything... My swap space is 5.9GB, I have 4GB RAM (video uses 1gb, so I have 3gb usable)

lspci says

00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)

[code]....

I do have the hibernate package installed...

View 6 Replies View Related

Debian Configuration :: How To Resize Mounted Partition On LVM

Oct 24, 2015

I would like to resize the /home partition but it is mounted and when umount is run, it errors with 'busy'.

System Configuration:

I installed jessie on a laptop with one SSD. I used guided partitioning and selected the whole drive with multiple partitions. The /home now takes up 420 GB. I would like to reduce that to 20 GB to make room for another partition.

What are the methods reduce this partition?

View 8 Replies View Related

Debian Configuration :: How To Run Fsck On Mounted Drive

Apr 22, 2016

How to run a fsck on a mounted drive? I attempted unmount and it said no. I suddenly got an error 4 and trying to run a check, and it aborts with can't cause mounted.

View 10 Replies View Related

Debian Configuration :: Safely Removing Mounted USB Device

Jan 7, 2011

I'm not sure if this is a bug in Squeeze beta 2 or if it's something I've overlooked. I have a Maxtor 250 GB external USB drive that I use for backups. It gets auto-mounted fine, always in the same place, and from my normal user account I can write to it, even delete directories on it if I want to. But when, from Gnome, I select the "Safely remove" option, I get an error to the effect that it can't stop the device. The weird thing is that the thing actually *is* unmounted. I've checked the mount point and it's no longer there.Is there some package I maybe should've installed but haven't? I'm not really worried about data loss, since I'm sure the drive wouldn't unmount unless it was properly synched; it's just the error message that bugs me.

View 2 Replies View Related

Debian Configuration :: Reboot Both The Server And The Client Machines Every Time Change The SAMBA Configuration?

Apr 5, 2010

I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.

My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.

View 1 Replies View Related

Debian Configuration :: Apt Update Errors On Locally Mounted Repos

Nov 27, 2015

My primary repos are DVD .isos on my hard drive loop-mounted in /etc/fstab. Although I can install packages just fine and there are no issues with running installed applications, I must have screwed up the configuration of /etc/apt/sources.list because I get this output when I do apt-get update:

Code: Select allIgn file: jessie InRelease
Ign file: jessie InRelease
Ign file: jessie InRelease
Ign file: jessie InRelease
Ign file: jessie InRelease

[Code] .....

Here is my rather primitive but functional /etc/apt/sources.list:

Code: Select all# deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 DVD Binary-1 20150906-11:13]/ jessie contrib main
# deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 DVD Binary-1 20150906-11:13]/ jessie contrib main
deb file:/dvd1 jessie main contrib
deb file:/dvd2 jessie main contrib
deb file:/dvd3 jessie main contrib

[Code] ....

So what exactly have I screwed up?

View 0 Replies View Related

Debian Configuration :: External NTFS Drive Not Mounted Writable By Default?

Feb 20, 2010

When I plug in my external USB Hard drive which is formatted as a single NTFS partition, it is recognized and mounted automatically, a nautilus window pops open. Unfortunately it is not writable. The reason is: the partition is mounted "ntfs" (which lacks write support) instead of "ntfs-3g". This is the output of mount after plugging in the drive:

$ mount | grep sdc1
/dev/sdc1 on /media/4EBC5FB82435B0EE type ntfs (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,dmask=0077)

I want this partition to be writable by just plugging it in.

The partition should not have any errors because a) I fsck'ed it windows and b) mounting it manually works:

$ sudo mount -t ntfs-3g /dev/sdc1 /media/disk_/
$ mount | grep sdc1
/dev/sdc1 on /media/disk_ type fuseblk (rw,allow_other,blksize=4096)
$ devkit-disks --mount-fstype ntfs-3g --mount /dev/sdc1
Mounted /org/freedesktop/DeviceKit/Disks/devices/sdc1 at /media/4EBC5FB82435B0EE
$ mount | grep sdc1
/dev/sdc1 on /media/4EBC5FB82435B0EE type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
$ gnome-mount -nbtd /dev/sdc1
$ mount | grep sdc1
/dev/sdc1 on /media/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

How can I get ntfs drives to be mounted as writable by default, preferrably without having to modify fstab?

View 1 Replies View Related

Debian Configuration :: No UUID For Some Partitions?

Jun 15, 2010

I have two encrypted partitions which I cannot find UUID numbers for.

/etc/crypttab looks like this:

[Code]....

and *sometimes this works, other times I have to edit the file and /etc/init.d/cryptdisks restart.

Obviously I should use UUIDs here and in fstab but blkid does not list those partitions

[Code]....

View 4 Replies View Related

Debian Configuration :: Mixing Partitions In RAID 5

Mar 21, 2011

I have 2x 1.5TB hard disks and I'm going to buy a new 2TB drive soon. First though I just wanted to check that I could partition off the first 1/4 to 1/3 of the 2TB drive (leaving 1.5TB or more free) and install Debian to that part, then use the remainder of the disk in combination with the 2x 1.5 TB drives in RAID 5? i.e. can you mix whole drives and with partitions from other drives in RAID 5 and/or is it best to just stick with complete drives for the RAID array?I only have room for 3 drives in the small mATX case that houses my NAS device and I want to maximise storage capacity and minimise expense.

View 2 Replies View Related

Debian Configuration :: Resizing Partitions - Put To The Root Partition

Jan 23, 2016

Is there a way where I can take like 50GB from my home folder (I have 375 avail., but using only 22GB) and put it to the root partition? Twice now my system has almost ran out of space on root, so luckly I was able to clear out old stuff so I don't have login issues after finding the hardway the first round lol. I just want to make sure I can login with out being forced back out because root don't have space to let me login.

View 11 Replies View Related

Debian Configuration :: Squeeze: Hiding Partitions In Nautilus?

Jan 23, 2011

how to hide an unmounted partition from the nautilus right side panel?

for lenny an hal policy did the trick, but it does not seem working with squeeze anymore...

View 1 Replies View Related

Debian Configuration :: Can't Mount Device/partitions With Slim Or Xdm

Jun 28, 2011

I have Debian Testing. I am testing XFCE and LXDE and i want to use display manager other than GDM. I have tried SLIM and XDM but when i use them i can't mount partitions and USB through Thunar, PcMan or Nautilus - i get message that i am not authorized (if i do groups in terminal - adm dialout fax cdrom floppy tape audio dip video plugdev games fuse powerdev netdev lpadmin scanner sambashare). When i install GDM everything works fine. I have installed FUSE, HAL, Udev,...I have tried a lot of stuff from AcchLinux forums but nothing worked really.

View 4 Replies View Related

Debian :: Swap Is Not Mounted At Boot?

Sep 9, 2010

My swap is not mounted at boot. get it to mount again? I CAN make it mount after booting but I need to hibernate. I read that I have to edit /etc/fstab but I'm not quite sure as to what I have to do specifically.

View 11 Replies View Related

Debian Configuration :: Lsblk Shows Non-existent Md Partitions After Reboot

Jan 14, 2016

I'm getting weird behaviour while setting up an mdadm RAID1 array on debian 8.2.

After I set-up the array, lsblk shows:

Code: Select allsimon@debian-server:~$ lsblk
NAME                          MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                             8:0    0 931.5G  0 disk
`-sda1                          8:1    0 931.5G  0 part
  `-md0                         9:0    0 931.4G  0 raid1
sdb                             8:16   0 931.5G  0 disk

[Code] ....

After a reboot, lsblk shows:

Code: Select allsimon@debian-server:~$ lsblk
NAME                          MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                             8:0    0 931.5G  0 disk
`-sda1                          8:1    0 931.5G  0 part
  `-md0                         9:0    0 931.4G  0 raid1
    |-md0p1                   259:0    0 811.6G  0 md

[Code] ...

I don't know where the md0p1 and md0p2 partitions are coming from. My /etc/fstab and /etc/mdadm/mdadm.conf both have nothing about this in them.

parted shows one partition on md0:

Code: Select allsimon@debian-server:~$ sudo parted /dev/md0 print
Model: Linux Software RAID Array (md)
Disk /dev/md0: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:
Number  Start  End     Size    File system  Flags
 1      0.00B  1000GB  1000GB  ntfs

Where the md0p1 and md0p2 partitions are coming from?

I'm setting up the array by doing as follows:

Delete existing device (I've done this a few times):

Code: Select allsudo mdadm --stop /dev/md0
sudo mdadm --remove /dev/md0

Zero drives:

Code: Select allsudo dd if=/dev/zero of=/dev/sda bs=1M count=1024
sudo dd if=/dev/zero of=/dev/sdb bs=1M count=1024

Create partition tables:

Code: Select allsudo parted /dev/sda mklabel gpt
sudo parted /dev/sdb mklabel gpt

Create full-disk partitions:
Code: Select allsudo parted -a optimal /dev/sda mkpart primary '0%' '100%'
sudo parted -a optimal /dev/sdb mkpart primary '0%' '100%'

Set raid flag on partitions:

Code: Select allsudo parted /dev/sda set 1 raid on
sudo parted /dev/sdb set 1 raid on

Create RAID array:

Code: Select allsudo mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sd[ab]1

Add filesystem (I'm using NTFS, but the problem also happens with ext4)

Code: Select allsudo mkfs.ntfs -f /dev/md0

View 1 Replies View Related

Debian Configuration :: Broken Trash From Fstab-partitions In Nautilus

Jan 21, 2016

On my system nearly all subfolders of my home-directory are on another hard drive. I included them via /etc/fstab as shown in the example below:

UUID=12c12565-ece4-4a22-b5c5-275aba1a3fd4 /media/data ext4 defaults 0 2
/media/data/archive /home/XXX/archive none bind 0 0
etc.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved