using madam
setup partitions
sudo fdisk -l
/dev/sda <- 1="" disk="" p="">/dev/sdc <- 2="" disk="" p="">
Using gparted, create paritions, start with 1 MiB, round to MiB
Change filesystem type to Linux RAID
sudo fdisk /dev/sda
p (print table)
t (change type)
fd (Hex code for Linux RAID)
w (write)
do same with /dev/sdc
create raid 1
sudo mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sda1 /dev/sdc1
- ignore warning of boot device
filesystem
sudo mkfs.ext4 /dev/md1
mount raid
sudo mkdir /media/raid1
sudo mount /dev/md1 /media/raid1
view raid status
cat /proc/mdstat
- or watch raid status
watch -n 2 cat /proc/mdstat
view details
sudo mdadm --query --detail /dev/md1
backup config
cp /etc/mdadm/mdadm.conf ~/mdadm.conf.backup
regen config
sudo /usr/share/mdadm/mkconf force-generate /etc/mdadm/mdadm.conf
sudo update-initramfs -u
- config should now contain array definitions->->
Source:
http://linuxconfig.org/linux-software-raid-1-setup
http://www.howtoforge.com/software-raid1-grub-boot-debian-etch
http://www.linuxmanpages.com/man8/mdadm.8.php
http://www.cyberciti.biz/faq/linux-creating-software-raid-one-arrays/
https://wiki.archlinux.org/index.php/fstab
https://raid.wiki.kernel.org/index.php/RAID_setup#Downloading_and_installing_mdadm_-_the_RAID_management_tool
Saturday, 9 August 2014
Friday, 20 June 2014
Saturday, 31 May 2014
T61 Kubuntu 14.04
To disable bluetooth on start up:
/etc/rc.local:echo disable > /proc/acpi/ibm/bluetooth
source: http://askubuntu.com/questions/67758/how-can-i-deactivate-bluetooth-on-system-startup
Friday, 28 February 2014
Monday, 12 November 2012
Applications
Check which package is installed
http://unix.stackexchange.com/questions/6284/check-package-version-using-apt-get-aptitude
Installing libdvdcss to copy encrypted DVDs
https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs
Excellent HP printer drivers - scan, print through network
http://hplipopensource.com/hplip-web/install_wizard/index.html
http://unix.stackexchange.com/questions/6284/check-package-version-using-apt-get-aptitude
Installing libdvdcss to copy encrypted DVDs
https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs
Excellent HP printer drivers - scan, print through network
http://hplipopensource.com/hplip-web/install_wizard/index.html
Saturday, 10 November 2012
Kubuntu 12.10 Upgrade
Killed my grub, so had to reinstall grub using Kubuntu 12.10 live cd
Boot splash screen wouldn't appear
in /etc/default/grub
Add:
GRUB_GFXPAYLOAD_LINUX=1280x1024x32
echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash
sudo update-grub2
sudo update-initramfs -u
Also had to put my desktop back (Folder View)
Source: http://askubuntu.com/questions/6033/enabling-nvidia-driver-messes-up-splash-screen
VMWare player patch:
http://communities.vmware.com/thread/401004
Boot splash screen wouldn't appear
in /etc/default/grub
Add:
GRUB_GFXPAYLOAD_LINUX=1280x1024x32
echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash
sudo update-grub2
sudo update-initramfs -u
Also had to put my desktop back (Folder View)
Source: http://askubuntu.com/questions/6033/enabling-nvidia-driver-messes-up-splash-screen
VMWare player patch:
http://communities.vmware.com/thread/401004
Saturday, 13 October 2012
Nvidia Driver Problem on Update
ctrl+alt F1
sudo apt-get purge nvidia-current-updates
sudo apt-get purge nvidia-current
sudo apt-get purge nvidia-173
sudo apt-get install nvidia-current
sudo reboot
Install/activate current drivers from "Additional Drivers"
reboot
Useful: http://askubuntu.com/questions/66548/whats-the-difference-between-the-nvidia-current-and-nvidia-current-updates-pac
sudo apt-get purge nvidia-current-updates
sudo apt-get purge nvidia-current
sudo apt-get purge nvidia-173
sudo apt-get install nvidia-current
sudo reboot
Install/activate current drivers from "Additional Drivers"
reboot
Useful: http://askubuntu.com/questions/66548/whats-the-difference-between-the-nvidia-current-and-nvidia-current-updates-pac
Subscribe to:
Posts (Atom)