akamanah@akamanah-desktop:~/Рабочий стол$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sda3 / ext4 errors=remount-ro 0 1
/dev/sda2 /boot ext4 defaults 0 2
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
# a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap[on|off] for that
akamanah@akamanah-desktop:~/Рабочий стол$ sudo blkid
[sudo] password for akamanah:
/dev/sda2: UUID="44908ad8-6e8f-41fb-8969-fe8154687a6f" TYPE="ext4"
/dev/sda5: UUID="d9c6dd1e-fb24-4b7c-9d32-2c975d41f834" TYPE="ext4"
/dev/sda6: UUID="832ea577-187e-4f57-82e9-8aba2990d4c6" TYPE="ext4"
/dev/sda7: UUID="e51137b6-f769-4ab9-9f69-aa3ce974f71d" TYPE="ext4"
akamanah@akamanah-desktop:~/Рабочий стол$ cat /boot/grub/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
}
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, with Linux 2.6.32-31-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 44908ad8-6e8f-41fb-8969-fe8154687a6f
linux /boot/vmlinuz-2.6.32-31-generic root=UUID=44908ad8-6e8f-41fb-8969-fe8154687a6f ro quiet splash
initrd /boot/initrd.img-2.6.32-31-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 44908ad8-6e8f-41fb-8969-fe8154687a6f
echo 'Loading Linux 2.6.32-31-generic ...'
linux /boot/vmlinuz-2.6.32-31-generic root=UUID=44908ad8-6e8f-41fb-8969-fe8154687a6f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-31-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-31-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 44908ad8-6e8f-41fb-8969-fe8154687a6f
linux /vmlinuz-2.6.32-31-generic root=UUID=44908ad8-6e8f-41fb-8969-fe8154687a6f ro quiet splash
initrd /initrd.img-2.6.32-31-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 44908ad8-6e8f-41fb-8969-fe8154687a6f
echo 'Loading Linux 2.6.32-31-generic ...'
linux /vmlinuz-2.6.32-31-generic root=UUID=44908ad8-6e8f-41fb-8969-fe8154687a6f ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32-31-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###
cat /boot/boot/grub/grub.cfg
cat: /boot/boot/grub/grub.cfg: Нет такого файла или каталога