Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Strony: 1
Bardzo prosze o podanie: komendy, komend? ktore podadza jak najwiecej informacji o:
- zainstalowanych partycjach
- danych na kazdej z tych partycji (OS, rozmiar, rodz pliku itp itd)
Nie chce wchodzic w szczegoly a komenda : cat /proc/partitions | grep sd - mi nie pomaga.
Dot: Wheezy 64bit.
Offline
fdisk -l
?
Offline
Taki wynik
root@debian:/home/lucas# fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0006d088 Device Boot Start End Blocks Id System /dev/sda1 * 2048 123074313 61536133 83 Linux /dev/sda2 123074560 245954559 61440000 83 Linux /dev/sda3 245954560 368834559 61440000 83 Linux /dev/sda4 368836606 617381887 124272641 5 Extended /dev/sda5 368836608 432062463 31612928 83 Linux /dev/sda6 432064512 494161919 31048704 83 Linux /dev/sda7 494163968 555937791 30886912 83 Linux /dev/sda8 555939840 617381887 30721024 83 Linux root@debian:/home/lucas# lsblk -o name,mountpoint,label,size,uuid NAME MOUNTPOINT LABEL SIZE UUID sda 465.8G ├─sda1 Cent 58.7G 875a585c-ad17-44fd-9138-92cb8cb102c3 ├─sda2 / Deb 58.6G e00b0e3c-ed69-4ee5-b808-9ef32aa0c33d ├─sda3 Ubu 58.6G 41c8ae8f-4df3-490f-a267-4f53745e8b3e ├─sda4 1K ├─sda5 30.2G 1bc9dca6-cf1a-48d3-9f56-2dbb5699d877 ├─sda6 29.6G 8720bc1e-4b8e-49a1-898f-dbc6ab527300 ├─sda7 29.5G 9de4cbf2-e8a5-4bce-acad-13e12f0cd5b8 └─sda8 29.3G 91f72eba-a1ac-4306-84d7-afa1b2e00a67 sr0 1024M root@debian:/home/lucas#
Prosze o wiecej bo cos mi sie tu nie zgadza, tylko nie chce sie rozpisywac. GRUB podaje co innego a aplety na pasku bocznym co innego.
Jak aktualizowac wpisy w GRUB-ie?
Konfig GRUBa
# # DO NOT EDIT THIS FILE # # It is automatically generated by 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 load_video { insmod vbe insmod vga insmod video_bochs insmod video_cirrus } insmod part_msdos insmod ext2 set root='(hd0,msdos2)' search --no-floppy --fs-uuid --set=root e00b0e3c-ed69-4ee5-b808-9ef32aa0c33d if loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode=640x480 load_video insmod gfxterm insmod part_msdos insmod ext2 set root='(hd0,msdos2)' search --no-floppy --fs-uuid --set=root e00b0e3c-ed69-4ee5-b808-9ef32aa0c33d set locale_dir=($root)/boot/grub/locale set lang=en_IE insmod gettext fi terminal_output gfxterm set timeout=10 ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### insmod part_msdos insmod ext2 set root='(hd0,msdos2)' search --no-floppy --fs-uuid --set=root e00b0e3c-ed69-4ee5-b808-9ef32aa0c33d insmod png if background_image /usr/share/images/desktop-base/joy-grub.png; then set color_normal=white/black set color_highlight=black/white else set menu_color_normal=cyan/blue set menu_color_highlight=white/blue fi ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64' --class debian --class gnu-linux --class gnu --class os { load_video insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos2)' search --no-floppy --fs-uuid --set=root e00b0e3c-ed69-4ee5-b808-9ef32aa0c33d echo 'Loading Linux 3.2.0-4-amd64 ...' linux /boot/vmlinuz-3.2.0-4-amd64 root=UUID=e00b0e3c-ed69-4ee5-b808-9ef32aa0c33d ro quiet echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-3.2.0-4-amd64 } menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os { load_video insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos2)' search --no-floppy --fs-uuid --set=root e00b0e3c-ed69-4ee5-b808-9ef32aa0c33d echo 'Loading Linux 3.2.0-4-amd64 ...' linux /boot/vmlinuz-3.2.0-4-amd64 root=UUID=e00b0e3c-ed69-4ee5-b808-9ef32aa0c33d ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-3.2.0-4-amd64 } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/30_os-prober ### menuentry "Debian GNU/Linux, with Linux 3.2.0-4-amd64 (on /dev/sda1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 875a585c-ad17-44fd-9138-92cb8cb102c3 linux /boot/vmlinuz-3.2.0-4-amd64 root=UUID=875a585c-ad17-44fd-9138-92cb8cb102c3 ro quiet initrd /boot/initrd.img-3.2.0-4-amd64 } menuentry "Debian GNU/Linux, with Linux 3.2.0-4-amd64 (recovery mode) (on /dev/sda1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 875a585c-ad17-44fd-9138-92cb8cb102c3 linux /boot/vmlinuz-3.2.0-4-amd64 root=UUID=875a585c-ad17-44fd-9138-92cb8cb102c3 ro single initrd /boot/initrd.img-3.2.0-4-amd64 } menuentry "UNetbootin (on /dev/sda1)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 875a585c-ad17-44fd-9138-92cb8cb102c3 linux /boot/ubnkern initrd /boot/ubninit } menuentry "CentOS (2.6.32-504.3.3.el6.x86_64) (on /dev/sda3)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos3)' search --no-floppy --fs-uuid --set=root c7ea93d7-8fc3-4c8c-993e-b88468a1dc04 linux /boot/vmlinuz-2.6.32-504.3.3.el6.x86_64 ro root=UUID=c7ea93d7-8fc3-4c8c-993e-b88468a1dc04 rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=uk LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet nouveau.modeset=0 rdblacklist=nouveau initrd /boot/initramfs-2.6.32-504.3.3.el6.x86_64.img } menuentry "CentOS (2.6.32-504.1.3.el6.x86_64) (on /dev/sda3)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos3)' search --no-floppy --fs-uuid --set=root c7ea93d7-8fc3-4c8c-993e-b88468a1dc04 linux /boot/vmlinuz-2.6.32-504.1.3.el6.x86_64 ro root=UUID=c7ea93d7-8fc3-4c8c-993e-b88468a1dc04 rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=uk LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet nouveau.modeset=0 rdblacklist=nouveau initrd /boot/initramfs-2.6.32-504.1.3.el6.x86_64.img } menuentry "CentOS (2.6.32-431.23.3.el6.x86_64) (on /dev/sda3)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos3)' search --no-floppy --fs-uuid --set=root c7ea93d7-8fc3-4c8c-993e-b88468a1dc04 linux /boot/vmlinuz-2.6.32-431.23.3.el6.x86_64 ro root=UUID=c7ea93d7-8fc3-4c8c-993e-b88468a1dc04 rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=uk LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet nouveau.modeset=0 rdblacklist=nouveau initrd /boot/initramfs-2.6.32-431.23.3.el6.x86_64.img } menuentry "CentOS (2.6.32-431.el6.x86_64) (on /dev/sda3)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos3)' search --no-floppy --fs-uuid --set=root c7ea93d7-8fc3-4c8c-993e-b88468a1dc04 linux /boot/vmlinuz-2.6.32-431.el6.x86_64 ro root=UUID=c7ea93d7-8fc3-4c8c-993e-b88468a1dc04 rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=uk LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet nouveau.modeset=0 rdblacklist=nouveau initrd /boot/initramfs-2.6.32-431.el6.x86_64.img } menuentry "CentOS (2.6.32-431.el6.x86_64) (on /dev/sda5)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 1bc9dca6-cf1a-48d3-9f56-2dbb5699d877 linux /boot/vmlinuz-2.6.32-431.el6.x86_64 ro root=UUID=1bc9dca6-cf1a-48d3-9f56-2dbb5699d877 rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=uk LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M rd_NO_LVM rd_NO_DM rhgb quiet initrd /boot/initramfs-2.6.32-431.el6.x86_64.img } ### 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 ### ### BEGIN /etc/grub.d/41_custom ### if [ -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ###
Jak to zinterpretowac?
Ostatnio edytowany przez Novi-cjusz (2015-04-10 18:36:49)
Offline
update-grub, ale GRUB może podawać, u mnie też niepoprawnie generuje, trzeba ręcznie modyfikować niektóre wpisy. Przejrzyj grub.cfg i porównaj do uuid partycji
Już widzę twój grub.cfg, generuje jeszcze większe bzdury jak u mnie :p
Ostatnio edytowany przez raven18 (2015-04-10 18:45:30)
Offline
Wynik
root@debian:/home/lucas# update grub bash: update: command not found root@debian:/home/lucas# update-grub Generating grub.cfg ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-3.2.0-4-amd64 Found initrd image: /boot/initrd.img-3.2.0-4-amd64 Found Debian GNU/Linux (7.5) on /dev/sda1 Found Ubuntu 14.10 (14.10) on /dev/sda3 Found CentOS release 6.5 (Final) on /dev/sda5 done root@debian:/home/lucas#
Zrestartuje i zobaczymy.???
Offline
Sprawdź ale wątpię
Offline
Z Microsoftem unikam kontaktow.
Na sda1 GRUB pokazuje mi Debiana ktory w dodatku nie bootuje.
Mysle ze konsola jest wiarygodna a config GRUBA do rekonstrukcji?
Skorygowalem GRUBa "z palca"
Temat do zamkniecia.
Wszystkim dziekuje za pomoc.
Ostatnio edytowany przez Novi-cjusz (2015-04-10 20:36:51)
Offline
Strony: 1