Dzerzhinsk 2010
Версия от 16:48, 28 октября 2010; Bond (обсуждение | вклад) (Новая: nano etc/fstab proc /proc proc nosuid,noexec,gid=proc 0 0 devpts /dev/pts devpts nosuid,noexec,gid=tty,mode=620 0 0...)
nano etc/fstab
proc /proc proc nosuid,noexec,gid=proc 0 0 devpts /dev/pts devpts nosuid,noexec,gid=tty,mode=620 0 0 tmpfs /tmp tmpfs nosuid 0 0 /dev/sda3 / ext3 relatime 1 1 /dev/sda4 swap swap defaults 0 0 #/dev/sda1 /mnt/sda1 ntfs-3g locale=ru_RU.UTF-8,dmask=0,fmask=0111 0 0 #/dev/sda5 /mnt/sda5 vfat showexec,quiet,codepage=866,iocharset=utf8,umask=0 0 0 /dev/sr0 /media/cdrom udf,iso9660 ro,noauto,user,utf8 0 0
nano /etc/lilo.conf
map="/boot/map" lba32 prompt compact install="menu" vga="0x314" append="resume=/dev/sda4 panic=30 splash=silent quiet=1" message="/boot/splash/message" boot="/dev/sda" timeout="2000" default="ALTLinux" image="/boot/vmlinuz" label="ALTLinux" initrd="/boot/initrd.img" root="/dev/sda3" read-only image="/boot/vmlinuz" label="failsafe" initrd="/boot/initrd.img" root="/dev/sda3" addappend="failsafe" vga="normal" read-only other="/dev/sda1" label="Windows" image="/boot/memtest-4.00.bin" label="memtest"
cd /media/sda3 mount -t proc /proc/ proc/ mount -t sysfs /sys/ sys/ mount --bind /dev/ dev/ chroot ./ lilo reboot