[SOLVED] Debian 9 Taking A Long Time To Boot Lots Of Errors
DebianThis forum is for the discussion of Debian Linux.
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.
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.
"doesn't work" is not diagnostically helpful (although frequently indicates user error).
What does that even mean?
If you have no mdadm arrays, you have no need for mdadm.
What does
Code:
aptitude why mdadm
show (may need to install aptitude).
-:::-With or without elevated privileges trying to rename the mdadm.conf file does not work-:::-
The file show's no change what so ever:-
Even tho a Raid Array is not set up there may still be a signature (related to mdadm/raid setup) that is associated with Raid attached to the HDD that Debian 9 is installed on.
-:::-With or without elevated privileges trying to rename the mdadm.conf file does not work-:::-
Why not show us?
Quote:
Even tho a Raid Array is not set up there may still be a signature (related to mdadm/raid setup) that is associated with Raid attached to the HDD that Debian 9 is installed on.
There may also be leprechauns under your bed... shamrock patterned pyjamas should ward them off
Last edited by descendant_command; 03-05-2019 at 03:18 AM.
Are you sure removing mdadm won't wreck the system?
As I mentioned, my Debian Testing runs fine without mdadm installed. If for whatever reason it don't boot or run properly, you can always reinstall it from a chroot or single user mode if it and it's dependencies are in /var/cache/apt/archives.
As I mentioned, my Debian Testing runs fine without mdadm installed. If for whatever reason it don't boot or run properly, you can always reinstall it from a chroot or single user mode if it and it's dependencies are in /var/cache/apt/archives.
You can do this two ways:
The first may not give internet access, but you can boot the Debian installer media and select Advanced/Rescue mode from the menu. It will go through many of the install questions but eventually ask which partition you want to mount, it should list a few since you have 3 drives, but you'll want to mount the Debian root partition, next you would select to go to a terminal inside the selected root partition where you can then install mdadm. But if it and it's dependencies are not in the cache, and there is no internet, it won't be able to retrieve necessary packages from the mirrors configured in /etc/apt/sources.list.
The other option is to boot a live (Preferably Debian derivative) CD, you should hopefully still have Mint. Mint has great support for network devices, you would open a terminal and issue the commands below to go into a chroot and reinstall mdadm, the "xxxx" would need be replaced with appropriate device such as /dev/sda1, needs to be the Debian root partition:
Code:
mount /dev/xxxx /mnt
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
chroot /mnt
apt install mdadm
exit
for i in /dev /dev/pts /proc /sys /run; do umount /mnt$i; done
umount /mnt
You may need to use sudo for the first three and last two commands if using Mint
But it's highly unlikely you'll need to reinstall mdadm. When you go to uninstall mdadm, it'll show before confirming what all other packages will need be uninstalled. In my earlier posts, I show which packages are dependencies of mdadm, if there are other packages that will need be uninstalled, means mdadm was installed as a dependency for these other packages, at which time you can decide if you want to go ahead. It's possible the other packages are also not needed as they may simply have been installed as a "Suggested" or "Recommended" package, which are not actually needed to keep the system running properly, they are just bloatware.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.