author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Tue, 23 Aug 2011 10:07:58 +0300 | |
changeset 955 | e9a167ac98f3 |
parent 899 | 7b4265c8d324 |
permissions | -rw-r--r-- |
899
7b4265c8d324
Set fill-column as directory local var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
735
diff
changeset
|
1 |
-*- mode: outline; coding: utf-8; -*- |
0 | 2 |
|
3 |
* Installing Debian. |
|
4 |
||
5 |
* Download Debian iso CD/DVD image no. 1. |
|
6 |
* Burn it to CD/DVD. |
|
7 |
* Boot from this media. |
|
8 |
* Follow instructions. |
|
9 |
||
10 |
* Configuring new system. |
|
11 |
||
12 |
** Installing additional packages. |
|
13 |
||
14 |
They need to install drivers, browsing file system, editing file etc. |
|
15 |
||
16 |
* menu |
|
17 |
* emacs |
|
18 |
* mc |
|
19 |
* sudo |
|
20 |
* gcc |
|
21 |
* make |
|
22 |
* linux-headers |
|
23 |
* xserver |
|
24 |
* xterm |
|
25 |
* fvwm |
|
26 |
||
27 |
** Become sudouser. |
|
28 |
||
29 |
$ su |
|
30 |
... |
|
31 |
$ emacs /etc/sudoers |
|
32 |
... |
|
33 |
$ grep -v "^#" /etc/sudoers |
|
34 |
Defaults env_reset |
|
35 |
||
36 |
root ALL=(ALL) ALL |
|
224 | 37 |
user ALL=(ALL) ALL |
0 | 38 |
$ ^D |
39 |
||
40 |
** Mount additional partitions. |
|
41 |
||
42 |
*** See existed partitions. |
|
43 |
||
44 |
$ sudo /sbin/sfdisk -l |
|
45 |
... |
|
46 |
||
47 |
*** Mounting needed partitions by hands. |
|
48 |
||
49 |
$ sudo mkdir /mnt/wininst |
|
50 |
$ sudo mount -t ntfs -o ro /dev/sdb2 /mnt/wininst |
|
51 |
||
52 |
*** Automatic mounting partitions. |
|
53 |
||
54 |
$ sudo addgroup win |
|
55 |
$ sudo addgroup user win |
|
56 |
$ sudo emacs /etc/fstab |
|
57 |
... |
|
58 |
$ cat /etc/fstab |
|
59 |
# /etc/fstab: static file system information. |
|
60 |
# |
|
61 |
# <file system> <mount point> <type> <options> <dump> <pass> |
|
62 |
proc /proc proc defaults 0 0 |
|
63 |
/dev/sdc1 / ext3 defaults,errors=remount-ro 0 1 |
|
64 |
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0 |
|
65 |
||
66 |
/dev/sdb1 /mnt/winsys ntfs ro,nls=utf8,gid=win,dmask=222,fmask=337 0 0 |
|
67 |
/dev/sdb2 /mnt/wininst ntfs ro,nls=utf8,gid=win,dmask=222,fmask=337 0 0 |
|
68 |
# /dev/sdb3 /mnt/winbin ntfs-3g rw,utf8,force,gid=win,dmask=002,fmask=113 |
|
69 |
/dev/sdb3 /mnt/winbin ntfs rw,utf8,nls=utf8,gid=win,umask=000 0 0 |
|
70 |
/dev/sdc2 /mnt/fat vfat rw,utf8,gid=win,dmask=222,fmask=337 0 0 |
|
71 |
/dev/sda5 /mnt/music ntfs ro,nls=utf8,gid=win,dmask=222,fmask=337 0 0 |
|
72 |
/dev/sdd1 /mnt/usb vfat rw,shortname=winnt,utf8,quiet,gid=win,dmask=002,fmask=111 0 0 |
|
73 |
||
224 | 74 |
*** |