1. Attach the new disk
2. create lvm
3. dd data from old to new lvm root
4. grub-install /dev/sdb (the new disk)
5. update-grub (in chroot or inside the actual OS)
Tuesday, May 20, 2014
Friday, May 16, 2014
allow other users in screen session / share screen session
1. sudo chmod +s /usr/bin/screen
2. sudo chmod 755 /usr/bin/screen
3. USER1: screen -S screen1
USER1: CTRL+A :multiuser on
USER1: CTRL+A: acladd USER2
4. USER2: screen -x USER1/screen1
2. sudo chmod 755 /usr/bin/screen
3. USER1: screen -S screen1
USER1: CTRL+A :multiuser on
USER1: CTRL+A: acladd USER2
4. USER2: screen -x USER1/screen1
set ubnutu linux default terminal encoding to UTF-8
gconftool --set --type=string /apps/gnome-terminal/profiles/Default/encoding UTF-8
Monday, May 12, 2014
debian squeeze change root disk to lvm
- create the lvm on the second disk
- dd data onto the lvm disk
- detach the old disk
- reboot with rescue cd and chown into the lvm root
- grub-install /dev/sda
- update-grub
Subscribe to:
Posts (Atom)