[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Instalé Debian y desapareció Windows



Te pego mi /boot/grub/grub.cfg por si te sirve de ayuda, ya que yo tengo Windows 8.1 y Debian testing en la misma máquina. Después te pondré la salida de fdisk -l con mis particiones, para que puedas comprender grub.cfg.

-------------------/boot/grub/grub.cfg---------------------------------
#
# 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,msdos5)'
search --no-floppy --fs-uuid --set=root e7787f65-97eb-485e-8ba8-239dd5686f72
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root e7787f65-97eb-485e-8ba8-239dd5686f72
  set locale_dir=($root)/boot/grub/locale
  set lang=es_ES
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root e7787f65-97eb-485e-8ba8-239dd5686f72
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.11-2-amd64' --class debian --class gnu-linux --class gnu --class os {
	load_video
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root e7787f65-97eb-485e-8ba8-239dd5686f72
	echo	'Loading Linux 3.11-2-amd64 ...'
linux /boot/vmlinuz-3.11-2-amd64 root=UUID=e7787f65-97eb-485e-8ba8-239dd5686f72 ro quiet acpi_osi=Linux acpi_backlight=vendor
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.11-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.11-2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	load_video
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root e7787f65-97eb-485e-8ba8-239dd5686f72
	echo	'Loading Linux 3.11-2-amd64 ...'
linux /boot/vmlinuz-3.11-2-amd64 root=UUID=e7787f65-97eb-485e-8ba8-239dd5686f72 ro single
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.11-2-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 "Windows 8 (loader) (on /dev/sda1)" --class windows --class os {
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 22365CA7365C7DAB
	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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

------------------------------------------------------------------------

root@debian:/home/edurios# fdisk -l

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, 1465149168 sectores en total
Units = sectores of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Identificador del disco: 0xf6575fe1

Disposit. Inicio    Comienzo      Fin      Bloques  Id  Sistema
/dev/sda1   *        2048      718847      358400    7  HPFS/NTFS/exFAT
/dev/sda2          718848   943724543   471502848    7  HPFS/NTFS/exFAT
/dev/sda3       943724544  1464932352   260603904+   5  Extendida
/dev/sda4      1464934400  1465147391      106496    b  W95 FAT32
/dev/sda5       943726592  1193787391   125030400   83  Linux
/dev/sda6      1193789440  1214869503    10540032   82  Linux swap / Solaris
/dev/sda7      1214871552  1464932351   125030400   83  Linux


/dev/sda1 -> Partición "Reservada para el sistema" de Windows (arranque). Unos 350 MB.

/dedv/sda2 -> Partición de unos 449 GB donde reside Windows y los programas instalados.

/dev/sda3 -> Partición extendida.

/dev/sda4 -> Partición FAT32 de 104 MB UEFI con herramientas de diagnóstico del sistema de HP.

/dev/sda5 -> Partición de unos 119 GB ext4 donde está instalado Debian

/dev/sda6 -> Partición de unos 11 GB para swap (memoria de intercambio).

/dev/sda7 -> Partición ext4 de 119 GB para montar /home.

Espero que te sirva de ayuda todo el tocho. :-)

--
www.LinuxCounter.net

Registered user #558467
has 1 linux machines

Registered Linux machine #2003003


Reply to: