LinuxForum.Fans
Тема

Загрузчик OC

Автор: LLIypuk 41 сообщений 5271 просмотров
#110496

LLIypuk, покажите файл /boot/grub/menu.lst или /boot/grub/grub.conf

#110498

уно моменто)

#110500
Lupo Alberto написал:
LLIypuk, покажите файл /boot/grub/menu.lst или /boot/grub/grub.conf

есть там ток grub.cfg

#110501

LLIypuk, ну и на всякий случай

text

ls -lR /boot
LLIypuk написал:
есть там ток grub.cfg

Давайте его.

#110502
text
aleksander@Dell:~$ ls -lR /boot
/boot:
итого 86796
-rw-r--r-- 1 root root   640617 2010-04-16 17:01 abi-2.6.32-21-generic
-rw-r--r-- 1 root root   651618 2010-09-16 22:14 abi-2.6.32-24-generic
-rw-r--r-- 1 root root   651949 2010-10-17 03:46 abi-2.6.32-25-generic
-rw-r--r-- 1 root root   651949 2010-11-24 16:57 abi-2.6.32-26-generic
-rw-r--r-- 1 root root   651949 2010-12-02 03:48 abi-2.6.32-27-generic
-rw-r--r-- 1 root root   115847 2010-04-16 17:01 config-2.6.32-21-generic
-rw-r--r-- 1 root root   115905 2010-09-16 22:14 config-2.6.32-24-generic
-rw-r--r-- 1 root root   116047 2010-10-17 03:46 config-2.6.32-25-generic
-rw-r--r-- 1 root root   116048 2010-11-24 16:57 config-2.6.32-26-generic
-rw-r--r-- 1 root root   116048 2010-12-02 03:48 config-2.6.32-27-generic
drwxr-xr-x 3 root root     4096 2010-12-23 17:59 grub
-rw-r--r-- 1 root root  7969103 2010-08-09 20:20 initrd.img-2.6.32-21-generic
-rw-r--r-- 1 root root  7971049 2010-09-18 17:14 initrd.img-2.6.32-24-generic
-rw-r--r-- 1 root root 13389836 2010-10-30 12:21 initrd.img-2.6.32-25-generic
-rw-r--r-- 1 root root 13424626 2010-11-30 19:51 initrd.img-2.6.32-26-generic
-rw-r--r-- 1 root root 13424511 2010-12-23 18:00 initrd.img-2.6.32-27-generic
-rw-r--r-- 1 root root   160280 2010-03-23 12:37 memtest86+.bin
-rw-r--r-- 1 root root  1687378 2010-04-16 17:01 System.map-2.6.32-21-generic
-rw-r--r-- 1 root root  1689036 2010-09-16 22:14 System.map-2.6.32-24-generic
-rw-r--r-- 1 root root  1689915 2010-10-17 03:46 System.map-2.6.32-25-generic
-rw-r--r-- 1 root root  1690205 2010-11-24 16:57 System.map-2.6.32-26-generic
-rw-r--r-- 1 root root  1690473 2010-12-02 03:48 System.map-2.6.32-27-generic
-rw-r--r-- 1 root root     1196 2010-04-16 17:03 vmcoreinfo-2.6.32-21-generic
-rw-r--r-- 1 root root     1196 2010-09-16 22:16 vmcoreinfo-2.6.32-24-generic
-rw-r--r-- 1 root root     1196 2010-10-17 03:47 vmcoreinfo-2.6.32-25-generic
-rw-r--r-- 1 root root     1196 2010-11-24 17:00 vmcoreinfo-2.6.32-26-generic
-rw-r--r-- 1 root root     1196 2010-12-02 03:50 vmcoreinfo-2.6.32-27-generic
-rw-r--r-- 1 root root  4029792 2010-04-16 17:01 vmlinuz-2.6.32-21-generic
-rw-r--r-- 1 root root  4034976 2010-09-16 22:14 vmlinuz-2.6.32-24-generic
-rw-r--r-- 1 root root  4037088 2010-10-17 03:46 vmlinuz-2.6.32-25-generic
-rw-r--r-- 1 root root  4037888 2010-11-24 16:57 vmlinuz-2.6.32-26-generic
-rw-r--r-- 1 root root  4038016 2010-12-02 03:48 vmlinuz-2.6.32-27-generic

/boot/grub: итого 4368 -rw-r--r-- 1 root root 8208 2010-12-05 13:19 915resolution.mod -rw-r--r-- 1 root root 10536 2010-12-05 13:19 acpi.mod -rw-r--r-- 1 root root 4556 2010-12-05 13:19 affs.mod -rw-r--r-- 1 root root 4844 2010-12-05 13:19 afs_be.mod -rw-r--r-- 1 root root 4828 2010-12-05 13:19 afs.mod -rw-r--r-- 1 root root 1048 2010-12-05 13:19 aout.mod -rw-r--r-- 1 root root 8052 2010-12-05 13:19 ata.mod -rw-r--r-- 1 root root 2252 2010-12-05 13:19 ata_pthru.mod -rw-r--r-- 1 root root 2676 2010-12-05 13:19 at_keyboard.mod -rw-r--r-- 1 root root 4740 2010-12-05 13:19 befs_be.mod -rw-r--r-- 1 root root 4716 2010-12-05 13:19 befs.mod -rw-r--r-- 1 root root 4300 2010-12-05 13:19 biosdisk.mod -rw-r--r-- 1 root root 2412 2010-12-05 13:19 bitmap.mod -rw-r--r-- 1 root root 2904 2010-12-05 13:19 bitmap_scale.mod -rw-r--r-- 1 root root 2012 2010-12-05 13:19 blocklist.mod -rw-r--r-- 1 root root 512 2010-12-05 13:19 boot.img -rw-r--r-- 1 root root 2568 2010-12-05 13:19 boot.mod -rw-r--r-- 1 root root 19740 2010-12-05 13:19 bsd.mod -rw-r--r-- 1 root root 1960 2010-12-05 13:19 bufio.mod -rw-r--r-- 1 root root 1988 2010-12-05 13:19 cat.mod -rw-r--r-- 1 root root 512 2010-12-05 13:19 cdboot.img -rw-r--r-- 1 root root 2416 2010-12-05 13:19 chain.mod -rw-r--r-- 1 root root 1948 2010-12-05 13:19 charset.mod -rw-r--r-- 1 root root 2144 2010-12-05 13:19 cmp.mod -rw-r--r-- 1 root root 1950 2010-12-05 13:19 command.lst -rw-r--r-- 1 root root 1784 2010-12-05 13:19 configfile.mod -rw-r--r-- 1 root root 24660 2010-12-05 13:19 core.img -rw-r--r-- 1 root root 2808 2010-12-05 13:19 cpio.mod -rw-r--r-- 1 root root 1608 2010-12-05 13:19 cpuid.mod -rw-r--r-- 1 root root 1784 2010-12-05 13:19 crc.mod -rw-r--r-- 1 root root 825 2010-12-05 13:19 crypto.lst -rw-r--r-- 1 root root 4384 2010-12-05 13:19 crypto.mod -rw-r--r-- 1 root root 1824 2010-12-05 13:19 datehook.mod -rw-r--r-- 1 root root 2316 2010-12-05 13:19 date.mod -rw-r--r-- 1 root root 1241 2010-12-05 13:19 datetime.mod -rw-r--r-- 1 root root 512 2010-12-05 13:19 diskboot.img -rw-r--r-- 1 root root 1864 2010-12-05 13:19 dm_nv.mod -rw-r--r-- 1 root root 5524 2010-12-05 13:19 drivemap.mod -rw-r--r-- 1 root root 1920 2010-12-05 13:19 echo.mod -rw-r--r-- 1 root root 6444 2010-12-05 13:19 efiemu32.o -rw-r--r-- 1 root root 11010 2010-12-05 13:19 efiemu64.o -rw-r--r-- 1 root root 24400 2010-12-05 13:19 efiemu.mod -rw-r--r-- 1 root root 4428 2010-12-05 13:19 elf.mod -rw-r--r-- 1 root root 1664 2010-12-05 13:19 example_functional_test.mod -rw-r--r-- 1 root root 5448 2010-12-05 13:19 ext2.mod -rw-r--r-- 1 root root 4004 2010-12-05 13:19 extcmd.mod -rw-r--r-- 1 root root 5912 2010-12-05 13:19 fat.mod -rw-r--r-- 1 root root 9732 2010-12-05 13:19 font.mod -rw-r--r-- 1 root root 2764 2010-12-05 13:19 fshelp.mod -rw-r--r-- 1 root root 121 2010-12-05 13:19 fs.lst -rw-r--r-- 1 root root 2608 2010-12-05 13:19 functional_test.mod -rw-r--r-- 1 root root 1768 2010-12-05 13:19 gcry_arcfour.mod -rw-r--r-- 1 root root 8144 2010-12-05 13:19 gcry_blowfish.mod -rw-r--r-- 1 root root 35040 2010-12-05 13:19 gcry_camellia.mod -rw-r--r-- 1 root root 17568 2010-12-05 13:19 gcry_cast5.mod -rw-r--r-- 1 root root 2992 2010-12-05 13:19 gcry_crc.mod -rw-r--r-- 1 root root 19280 2010-12-05 13:19 gcry_des.mod -rw-r--r-- 1 root root 3272 2010-12-05 13:19 gcry_md4.mod -rw-r--r-- 1 root root 4016 2010-12-05 13:19 gcry_md5.mod -rw-r--r-- 1 root root 2636 2010-12-05 13:19 gcry_rfc2268.mod -rw-r--r-- 1 root root 19204 2010-12-05 13:19 gcry_rijndael.mod -rw-r--r-- 1 root root 9136 2010-12-05 13:19 gcry_rmd160.mod -rw-r--r-- 1 root root 16652 2010-12-05 13:19 gcry_seed.mod -rw-r--r-- 1 root root 18040 2010-12-05 13:19 gcry_serpent.mod -rw-r--r-- 1 root root 8924 2010-12-05 13:19 gcry_sha1.mod -rw-r--r-- 1 root root 3492 2010-12-05 13:19 gcry_sha256.mod -rw-r--r-- 1 root root 5676 2010-12-05 13:19 gcry_sha512.mod -rw-r--r-- 1 root root 11996 2010-12-05 13:19 gcry_tiger.mod -rw-r--r-- 1 root root 39616 2010-12-05 13:19 gcry_twofish.mod -rw-r--r-- 1 root root 24824 2010-12-05 13:19 gcry_whirlpool.mod -rw-r--r-- 1 root root 3980 2010-12-05 13:19 gettext.mod -rw-r--r-- 1 root root 37316 2010-12-05 13:19 gfxmenu.mod -rw-r--r-- 1 root root 10952 2010-12-05 13:19 gfxterm.mod -rw-r--r-- 1 root root 3720 2010-12-05 13:19 gptsync.mod -rw-r--r-- 1 root root 10240 2010-12-05 13:19 grldr.img -r--r--r-- 1 root root 7077 2010-12-23 17:59 grub.cfg -rw-r--r-- 1 root root 1024 2010-12-25 16:35 grubenv -rw-r--r-- 1 root root 7740 2010-12-05 13:19 gzio.mod -rw-r--r-- 1 root root 1464 2010-12-05 13:19 halt.mod -rw-r--r-- 1 root root 16 2010-12-05 13:19 handler.lst -rw-r--r-- 1 root root 1688 2010-12-05 13:19 handler.mod -rw-r--r-- 1 root root 4720 2010-12-05 13:19 hashsum.mod -rw-r--r-- 1 root root 7420 2010-12-05 13:19 hdparm.mod -rw-r--r-- 1 root root 1216 2010-12-05 13:19 hello.mod -rw-r--r-- 1 root root 2412 2010-12-05 13:19 help.mod -rw-r--r-- 1 root root 3244 2010-12-05 13:19 hexdump.mod -rw-r--r-- 1 root root 5984 2010-12-05 13:19 hfs.mod -rw-r--r-- 1 root root 5844 2010-12-05 13:19 hfsplus.mod -rw-r--r-- 1 root root 6204 2010-12-05 13:19 iso9660.mod -rw-r--r-- 1 root root 5748 2010-12-05 13:19 jfs.mod -rw-r--r-- 1 root root 5900 2010-12-05 13:19 jpeg.mod -rw-r--r-- 1 root root 29784 2010-12-05 13:19 kernel.img -rw-r--r-- 1 root root 2000 2010-12-05 13:19 keystatus.mod -rw-r--r-- 1 root root 4972 2010-12-05 13:19 linux16.mod -rw-r--r-- 1 root root 8652 2010-12-05 13:19 linux.mod -rw-r--r-- 1 root root 1024 2010-12-05 13:19 lnxboot.img -rw-r--r-- 1 root root 5544 2010-12-05 13:19 loadenv.mod drwxr-xr-x 2 root root 4096 2010-11-05 16:47 locale -rw-r--r-- 1 root root 3080 2010-12-05 13:19 loopback.mod -rw-r--r-- 1 root root 1300 2010-12-05 13:19 lsmmap.mod -rw-r--r-- 1 root root 4140 2010-12-05 13:19 ls.mod -rw-r--r-- 1 root root 4944 2010-12-05 13:19 lspci.mod -rw-r--r-- 1 root root 5496 2010-12-05 13:19 lvm.mod -rw-r--r-- 1 root root 1792 2010-12-05 13:19 mdraid.mod -rw-r--r-- 1 root root 2104 2010-12-05 13:19 memdisk.mod -rw-r--r-- 1 root root 2876 2010-12-05 13:19 memrw.mod -rw-r--r-- 1 root root 4212 2010-12-05 13:19 minicmd.mod -rw-r--r-- 1 root root 4296 2010-12-05 13:19 minix.mod -rw-r--r-- 1 root root 8544 2010-12-05 13:19 mmap.mod -rw-r--r-- 1 root root 2629 2010-12-05 13:19 moddep.lst -rw-r--r-- 1 root root 2376 2010-12-05 13:19 msdospart.mod -rw-r--r-- 1 root root 11176 2010-12-05 13:19 multiboot2.mod -rw-r--r-- 1 root root 11172 2010-12-05 13:19 multiboot.mod -rw-r--r-- 1 root root 42060 2010-12-05 13:19 normal.mod -rw-r--r-- 1 root root 3548 2010-12-05 13:19 ntfscomp.mod -rw-r--r-- 1 root root 9948 2010-12-05 13:19 ntfs.mod -rw-r--r-- 1 root root 4484 2010-12-05 13:19 ohci.mod -rw-r--r-- 1 root root 2088 2010-12-05 13:19 part_acorn.mod -rw-r--r-- 1 root root 2192 2010-12-05 13:19 part_amiga.mod -rw-r--r-- 1 root root 2632 2010-12-05 13:19 part_apple.mod -rw-r--r-- 1 root root 2736 2010-12-05 13:19 part_gpt.mod -rw-r--r-- 1 root root 62 2010-12-05 13:19 partmap.lst -rw-r--r-- 1 root root 3448 2010-12-05 13:19 part_msdos.mod -rw-r--r-- 1 root root 2320 2010-12-05 13:19 part_sun.mod -rw-r--r-- 1 root root 22 2010-12-05 13:19 parttool.lst -rw-r--r-- 1 root root 4484 2010-12-05 13:19 parttool.mod -rw-r--r-- 1 root root 1908 2010-12-05 13:19 password.mod -rw-r--r-- 1 root root 3008 2010-12-05 13:19 password_pbkdf2.mod -rw-r--r-- 1 root root 1332 2010-12-05 13:19 pbkdf2.mod -rw-r--r-- 1 root root 900 2010-12-05 13:19 pci.mod -rw-r--r-- 1 root root 2496 2010-12-05 13:19 play.mod -rw-r--r-- 1 root root 6652 2010-12-05 13:19 png.mod -rw-r--r-- 1 root root 2664 2010-12-05 13:19 probe.mod -rw-r--r-- 1 root root 1024 2010-12-05 13:19 pxeboot.img -rw-r--r-- 1 root root 1332 2010-12-05 13:19 pxecmd.mod -rw-r--r-- 1 root root 5548 2010-12-05 13:19 pxe.mod -rw-r--r-- 1 root root 1380 2010-12-05 13:19 raid5rec.mod -rw-r--r-- 1 root root 2828 2010-12-05 13:19 raid6rec.mod -rw-r--r-- 1 root root 5856 2010-12-05 13:19 raid.mod -rw-r--r-- 1 root root 1544 2010-12-05 13:19 read.mod -rw-r--r-- 1 root root 1124 2010-12-05 13:19 reboot.mod -rw-r--r-- 1 root root 9836 2010-12-05 13:19 reiserfs.mod -rw-r--r-- 1 root root 4148 2010-12-05 13:19 relocator.mod -rw-r--r-- 1 root root 3260 2010-12-05 13:19 scsi.mod -rw-r--r-- 1 root root 2164 2010-12-05 13:19 search_fs_file.mod -rw-r--r-- 1 root root 2312 2010-12-05 13:19 search_fs_uuid.mod -rw-r--r-- 1 root root 2264 2010-12-05 13:19 search_label.mod -rw-r--r-- 1 root root 2356 2010-12-05 13:19 search.mod -rw-r--r-- 1 root root 6092 2010-12-05 13:19 serial.mod -rw-r--r-- 1 root root 690 2010-12-05 13:19 setjmp.mod -rw-r--r-- 1 root root 5532 2010-12-05 13:19 setpci.mod -rw-r--r-- 1 root root 4056 2010-12-05 13:19 sfs.mod -rw-r--r-- 1 root root 12124 2010-12-05 13:19 sh.mod -rw-r--r-- 1 root root 2220 2010-12-05 13:19 sleep.mod -rw-r--r-- 1 root root 2836 2010-12-05 13:19 tar.mod -rw-r--r-- 1 root root 134 2010-12-05 13:19 terminal.lst -rw-r--r-- 1 root root 5020 2010-12-05 13:19 terminal.mod -rw-r--r-- 1 root root 9760 2010-12-05 13:19 terminfo.mod -rw-r--r-- 1 root root 5156 2010-12-05 13:19 test.mod -rw-r--r-- 1 root root 2912 2010-12-05 13:19 tga.mod -rw-r--r-- 1 root root 1675 2010-12-05 13:19 trig.mod -rw-r--r-- 1 root root 1276 2010-12-05 13:19 true.mod -rw-r--r-- 1 root root 5060 2010-12-05 13:19 udf.mod -rw-r--r-- 1 root root 4636 2010-12-05 13:19 ufs1.mod -rw-r--r-- 1 root root 4952 2010-12-05 13:19 ufs2.mod -rw-r--r-- 1 root root 5180 2010-12-05 13:19 uhci.mod -rw-r--r-- 1 root root 2968057 2010-12-05 13:19 unicode.pf2 -rw-r--r-- 1 root root 3420 2010-12-05 13:19 usb_keyboard.mod -rw-r--r-- 1 root root 3832 2010-12-05 13:19 usb.mod -rw-r--r-- 1 root root 3816 2010-12-05 13:19 usbms.mod -rw-r--r-- 1 root root 3488 2010-12-05 13:19 usbtest.mod -rw-r--r-- 1 root root 2736 2010-12-05 13:19 vbeinfo.mod -rw-r--r-- 1 root root 7912 2010-12-05 13:19 vbe.mod -rw-r--r-- 1 root root 3048 2010-12-05 13:19 vbetest.mod -rw-r--r-- 1 root root 3804 2010-12-05 13:19 vga.mod -rw-r--r-- 1 root root 2824 2010-12-05 13:19 vga_text.mod -rw-r--r-- 1 root root 17168 2010-12-05 13:19 video_fb.mod -rw-r--r-- 1 root root 4 2010-12-05 13:19 video.lst -rw-r--r-- 1 root root 5604 2010-12-05 13:19 video.mod -rw-r--r-- 1 root root 3828 2010-12-05 13:19 videotest.mod -rw-r--r-- 1 root root 5792 2010-12-05 13:19 xfs.mod -rw-r--r-- 1 root root 31348 2010-12-05 13:19 xnu.mod -rw-r--r-- 1 root root 1936 2010-12-05 13:19 xnu_uuid.mod -rw-r--r-- 1 root root 6208 2010-12-05 13:19 zfsinfo.mod -rw-r--r-- 1 root root 24080 2010-12-05 13:19 zfs.mod

/boot/grub/locale: итого 756 -rw-r--r-- 1 root root 30329 2010-11-05 16:47 ast.mo -rw-r--r-- 1 root root 39079 2010-11-05 16:47 be.mo -rw-r--r-- 1 root root 523 2010-11-05 16:47 bn.mo -rw-r--r-- 1 root root 1111 2010-11-05 16:47 ca.mo -rw-r--r-- 1 root root 29175 2010-11-05 16:47 da.mo -rw-r--r-- 1 root root 30705 2010-11-05 16:47 de.mo -rw-r--r-- 1 root root 1872 2010-11-05 16:47 el.mo -rw-r--r-- 1 root root 541 2010-12-05 13:19 en_AU.mo -rw-r--r-- 1 root root 914 2010-12-05 13:19 en_GB.mo -rw-r--r-- 1 root root 602 2010-11-05 16:47 eo.mo -rw-r--r-- 1 root root 30808 2010-11-05 16:47 es.mo -rw-r--r-- 1 root root 11399 2010-11-05 16:47 et.mo -rw-r--r-- 1 root root 30501 2010-11-05 16:47 fi.mo -rw-r--r-- 1 root root 23588 2010-11-05 16:47 fr.mo -rw-r--r-- 1 root root 30746 2010-11-05 16:47 gl.mo -rw-r--r-- 1 root root 933 2010-11-05 16:47 hr.mo -rw-r--r-- 1 root root 31834 2010-11-05 16:47 hu.mo -rw-r--r-- 1 root root 27952 2010-11-05 16:47 id.mo -rw-r--r-- 1 root root 507 2010-11-05 16:47 is.mo -rw-r--r-- 1 root root 28212 2010-11-05 16:47 it.mo -rw-r--r-- 1 root root 2134 2010-11-05 16:47 ja.mo -rw-r--r-- 1 root root 32622 2010-11-05 16:47 ko.mo -rw-r--r-- 1 root root 2441 2010-11-05 16:47 ms.mo -rw-r--r-- 1 root root 945 2010-11-05 16:47 nb.mo -rw-r--r-- 1 root root 29902 2010-11-05 16:47 nl.mo -rw-r--r-- 1 root root 23134 2010-11-05 16:47 oc.mo -rw-r--r-- 1 root root 29622 2010-11-05 16:47 pl.mo -rw-r--r-- 1 root root 30467 2010-11-05 16:47 pt_BR.mo -rw-r--r-- 1 root root 8330 2010-11-05 16:47 pt.mo -rw-r--r-- 1 root root 2726 2010-11-05 16:47 ro.mo -rw-r--r-- 1 root root 39504 2010-12-05 13:19 ru.mo -rw-r--r-- 1 root root 8321 2010-11-05 16:47 sl.mo -rw-r--r-- 1 root root 2167 2010-11-05 16:47 sq.mo -rw-r--r-- 1 root root 17679 2010-11-05 16:47 sv.mo -rw-r--r-- 1 root root 7315 2010-11-05 16:47 th.mo -rw-r--r-- 1 root root 30129 2010-11-05 16:47 tr.mo -rw-r--r-- 1 root root 558 2010-11-05 16:47 ug.mo -rw-r--r-- 1 root root 35013 2010-11-05 16:47 uk.mo -rw-r--r-- 1 root root 27877 2010-11-05 16:47 zh_CN.mo -rw-r--r-- 1 root root 2477 2010-11-05 16:47 zh_TW.mo

aleksander@Dell:~$ grub.cfg # # DO NOT EDIT THIS FILE # # It is automatically generated by /usr/sbin/grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub #

### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then load_env fi set default="0" if [ ${prev_saved_entry} ]; then set saved_entry=${prev_saved_entry} save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi

function savedefault { if [ -z ${boot_once} ]; then saved_entry=${chosen} save_env saved_entry fi }

function recordfail { set recordfail=1 if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi } insmod ext2 set root='(hd0,2)' search --no-floppy --fs-uuid --set 62c92b6e-946a-453c-b557-ef93e090bd07 if loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode=640x480 insmod gfxterm insmod vbe if terminal_output gfxterm ; then true ; else # For backward compatibility with versions of terminal.mod that don't # understand terminal_output terminal gfxterm fi fi insmod ext2 set root='(hd0,2)' search --no-floppy --fs-uuid --set 62c92b6e-946a-453c-b557-ef93e090bd07 set locale_dir=($root)/boot/grub/locale set lang=ru insmod gettext if [ ${recordfail} = 1 ]; then set timeout=-1 else set timeout=10 fi ### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ### set menu_color_normal=white/black set menu_color_highlight=black/light-gray ### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ### menuentry 'Ubuntu, с Linux 2.6.32-27-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,2)' search --no-floppy --fs-uuid --set 62c92b6e-946a-453c-b557-ef93e090bd07 linux /boot/vmlinuz-2.6.32-27-generic root=UUID=62c92b6e-946a-453c-b557-ef93e090bd07 ro quiet splash initrd /boot/initrd.img-2.6.32-27-generic } menuentry 'Ubuntu, с Linux 2.6.32-27-generic (режим восстановления)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,2)' search --no-floppy --fs-uuid --set 62c92b6e-946a-453c-b557-ef93e090bd07 echo 'Загружается Linux 2.6.32-27-generic ...' linux /boot/vmlinuz-2.6.32-27-generic root=UUID=62c92b6e-946a-453c-b557-ef93e090bd07 ro single echo 'Загружается начальный ramdisk ...' initrd /boot/initrd.img-2.6.32-27-generic } menuentry 'Ubuntu, с Linux 2.6.32-26-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,2)' search --no-floppy --fs-uuid --set 62c92b6e-946a-453c-b557-ef93e090bd07 linux /boot/vmlinuz-2.6.32-26-generic root=UUID=62c92b6e-946a-453c-b557-ef93e090bd07 ro quiet splash initrd /boot/initrd.img-2.6.32-26-generic } menuentry 'Ubuntu, с Linux 2.6.32-26-generic (режим восстановления)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,2)' search --no-floppy --fs-uuid --set 62c92b6e-946a-453c-b557-ef93e090bd07 echo 'Загружается Linux 2.6.32-26-generic ...' linux /boot/vmlinuz-2.6.32-26-generic root=UUID=62c92b6e-946a-453c-b557-ef93e090bd07 ro single echo 'Загружается начальный ramdisk ...' initrd /boot/initrd.img-2.6.32-26-generic } menuentry 'Ubuntu, с Linux 2.6.32-25-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,2)' search --no-floppy --fs-uuid --set 62c92b6e-946a-453c-b557-ef93e090bd07 linux /boot/vmlinuz-2.6.32-25-generic root=UUID=62c92b6e-946a-453c-b557-ef93e090bd07 ro quiet splash initrd /boot/initrd.img-2.6.32-25-generic } menuentry 'Ubuntu, с Linux 2.6.32-25-generic (режим восстановления)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,2)' search --no-floppy --fs-uuid --set 62c92b6e-946a-453c-b557-ef93e090bd07 echo 'Загружается Linux 2.6.32-25-generic ...' linux /boot/vmlinuz-2.6.32-25-generic root=UUID=62c92b6e-946a-453c-b557-ef93e090bd07 ro single echo 'Загружается начальный ramdisk ...' initrd /boot/initrd.img-2.6.32-25-generic } menuentry 'Ubuntu, с Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,2)' search --no-floppy --fs-uuid --set 62c92b6e-946a-453c-b557-ef93e090bd07 linux /boot/vmlinuz-2.6.32-24-generic root=UUID=62c92b6e-946a-453c-b557-ef93e090bd07 ro quiet splash initrd /boot/initrd.img-2.6.32-24-generic } menuentry 'Ubuntu, с Linux 2.6.32-24-generic (режим восстановления)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,2)' search --no-floppy --fs-uuid --set 62c92b6e-946a-453c-b557-ef93e090bd07 echo 'Загружается Linux 2.6.32-24-generic ...' linux /boot/vmlinuz-2.6.32-24-generic root=UUID=62c92b6e-946a-453c-b557-ef93e090bd07 ro single echo 'Загружается начальный ramdisk ...' initrd /boot/initrd.img-2.6.32-24-generic } menuentry 'Ubuntu, с Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,2)' search --no-floppy --fs-uuid --set 62c92b6e-946a-453c-b557-ef93e090bd07 linux /boot/vmlinuz-2.6.32-21-generic root=UUID=62c92b6e-946a-453c-b557-ef93e090bd07 ro quiet splash initrd /boot/initrd.img-2.6.32-21-generic } menuentry 'Ubuntu, с Linux 2.6.32-21-generic (режим восстановления)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,2)' search --no-floppy --fs-uuid --set 62c92b6e-946a-453c-b557-ef93e090bd07 echo 'Загружается Linux 2.6.32-21-generic ...' linux /boot/vmlinuz-2.6.32-21-generic root=UUID=62c92b6e-946a-453c-b557-ef93e090bd07 ro single echo 'Загружается начальный ramdisk ...' initrd /boot/initrd.img-2.6.32-21-generic } ### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ### menuentry "Memory test (memtest86+)" { insmod ext2 set root='(hd0,2)' search --no-floppy --fs-uuid --set 62c92b6e-946a-453c-b557-ef93e090bd07 linux16 /boot/memtest86+.bin } menuentry "Memory test (memtest86+, serial console 115200)" { insmod ext2 set root='(hd0,2)' search --no-floppy --fs-uuid --set 62c92b6e-946a-453c-b557-ef93e090bd07 linux16 /boot/memtest86+.bin console=ttyS0,115200n8 } ### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ### menuentry "Microsoft Windows XP Professional RU (on /dev/sda1)" { insmod ntfs set root='(hd0,1)' search --no-floppy --fs-uuid --set 1824cb4624cb259a drivemap -s (hd0) ${root} chainloader +1 } ### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ###

#110503
LLIypuk написал:
menuentry "Microsoft Windows XP Professional RU (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 1824cb4624cb259a
drivemap -s (hd0) ${root}
chainloader +1
}

Все ненужные вам секции закомментируйте аналогично примеру ниже:

text

#menuentry "Microsoft Windows XP Professional RU (on /dev/sda1)" {
#   insmod ntfs
#    set root='(hd0,1)'
#    search --no-floppy --fs-uuid --set 1824cb4624cb259a
#    drivemap -s (hd0) ${root}
#   chainloader +1
#}

Если результат вас устроит, можно будет удалить неиспользуемые файлы System.map*, config*, initrd.img*, vmlinuz*...

#110504

Наверное лучше всего через synaptic удалить все ненужные ядра.

#110505
Lupo Alberto написал:
[quote=LLIypuk]menuentry "Microsoft Windows XP Professional RU (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 1824cb4624cb259a
drivemap -s (hd0) ${root}
chainloader +1
}

Все ненужные вам секции закомментируйте:

text

#menuentry "Microsoft Windows XP Professional RU (on /dev/sda1)" {
#   insmod ntfs
#    set root='(hd0,1)'
#    search --no-floppy --fs-uuid --set 1824cb4624cb259a
#    drivemap -s (hd0) ${root}
#   chainloader +1
#}

Если результат вас устроит, можно будет удалить неиспользуемые файлы System.map*, config*, initrd.img, vmlinuz...[/quote]
мне нужно оставить винду, и последнее новое ядро.

#110506

LLIypuk, я ещё в 3 посте Вам написал, что вам достаточно удалить старое ядро, для этого воспользуйтесь этой инструкцией! http://blog.lavrovs.com/linux/46

#110507
Dimaty написал:
LLIypuk, я ещё в 3 посте Вам написал, что вам достаточно удалить старое ядро, для этого воспользуйтесь этой инструкцией! http://blog.lavrovs.com/linux/46

там как-то сыровато расписано, как делать надо)

#110510

LLIypuk, Ok...
Второй способ:
Качаем с http://ubuntu-tweak.com/ пакет ubuntu-tweak
Устанавливаем
Запускаем, переходим на вкладку очистка системы
Далее жмём на кнопку "Удалить ядра"

#110511

зашел через synaptic, там пипец 1,5 страницы...строк...да не знаю чё удалять, а чё нет.

#110513
Dimaty написал:
LLIypuk, Ok...
Второй способ:
Качаем с http://ubuntu-tweak.com/ пакет ubuntu-tweak
Устанавливаем
Запускаем, переходим на вкладку очистка системы
Далее жмём на кнопку "Удалить ядра"

ента прога у мэне давно)

#110515

LLIypuk, и в чём проблема? Пропустите первые два пункта...

#110517

Все.
Последнее ядро у Вас 2.6.32-27-generic

#110522

Насколько я понимаю вы используете ядро последней версии, это 2.6.32.26
Соответственно можно удалить все кроме тех где упоминаются эти числа...

Войдите или зарегистрируйтесь, чтобы ответить.