Windows /

Principal S.O. en el GRUB?

Participa en el tema Principal S.O. en el GRUB? en el foro Windows.
hola: quisiera saber como poner a w$ como so principal en el grub, sin entrar ...

Buscar en este tema:
 
  •  
    #1 Principal S.O. en el GRUB?
    hola:

    quisiera saber como poner a w$ como so principal en el grub, sin entrar a el ( desde ubuntu o desde el mismo grub ) y como cambiar la particion de arranque, que creo que se cambio cuando agregue mi ubuntu 8.10...


    CHAO
    GRAX
    +
     
    0
    Me gusta
     
    http://www.psicofxp.com/forums/windows.70/924175-principal-s-o-en-el-grub.html
    | Más
  • #2 Re: Principal S.O. en el GRUB?

    esto ba mas en el foro de gnu/linux que en el de windows per igual te toca editar el archivo

    /boot/grub/menu.lts
    Me gusta este mensaje
  • #3 Re: Principal S.O. en el GRUB?

    me deja leerlo pero no editarlo... dice q no tengo permisos y soy adm... alguien q me ayude? batusai?
    Me gusta este mensaje
  • #4 Re: Principal S.O. en el GRUB?

    veo , ok

    desde una teminal osea
    aplicaciones > accesorios > gnome-terminal

    sudo gedit

    y desde ese gedit abres el archivo /boot/grub/menu.lts

    re recomindo qeu tengas especial cuidado con lo que mueves hay de otra manera pues perder el inicio de los sistemas operativos
    Me gusta este mensaje
  • #5 Re: Principal S.O. en el GRUB?

    abrir pude, lo q no puedo es guardar los cambios


    fijate sino la cago please :P igual ya habia hecho una copia de seguridad ( lo que no sabia era como usarla si c cagaba todo :P )


    ORIGINAL
    Código:
    # menu.lst - See: grub(8), info grub, update-grub(8)
    #            grub-install(8), grub-floppy(8),
    #            grub-md5-crypt, /usr/share/doc/grub
    #            and /usr/share/doc/grub-doc/.
    
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default		0
    
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout		10
    
    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    #hiddenmenu
    
    # Pretty colours
    #color cyan/blue white/blue
    
    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line)  and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    #      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret
    
    #
    # examples
    #
    # title		Windows 95/98/NT/2000
    # root		(hd0,0)
    # makeactive
    # chainloader	+1
    #
    # title		Linux
    # root		(hd0,1)
    # kernel	/vmlinuz root=/dev/hda2 ro
    #
    
    #
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
    
    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below
    
    ## DO NOT UNCOMMENT THEM, Just edit them to your needs
    
    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ##      kopt_2_6_8=root=/dev/hdc1 ro
    ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=b7313a95-480f-4e10-8ac7-4d82ef84388d ro
    
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=b7313a95-480f-4e10-8ac7-4d82ef84388d
    
    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ##      alternative=false
    # alternative=true
    
    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ##      lockalternative=false
    # lockalternative=false
    
    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet splash
    
    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ##      lockold=true
    # lockold=false
    
    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=
    
    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0
    
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ##      altoptions=(recovery) single
    # altoptions=(recovery mode) single
    
    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ##      howmany=7
    # howmany=all
    
    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ##      memtest86=false
    # memtest86=true
    
    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false
    
    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false
    
    ## ## End Default Options ##
    
    title		Ubuntu 8.10, kernel 2.6.27-7-generic
    uuid		b7313a95-480f-4e10-8ac7-4d82ef84388d
    kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=b7313a95-480f-4e10-8ac7-4d82ef84388d ro quiet splash 
    initrd		/boot/initrd.img-2.6.27-7-generic
    quiet
    
    title		Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
    uuid		b7313a95-480f-4e10-8ac7-4d82ef84388d
    kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=b7313a95-480f-4e10-8ac7-4d82ef84388d ro  single
    initrd		/boot/initrd.img-2.6.27-7-generic
    
    title		Ubuntu 8.10, memtest86+
    uuid		b7313a95-480f-4e10-8ac7-4d82ef84388d
    kernel		/boot/memtest86+.bin
    quiet
    
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    
    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title		Other operating systems:
    root
    
    
    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sdb1
    title		Microsoft Windows XP Professional
    root		(hd1,0)
    savedefault
    makeactive
    map		(hd0) (hd1)
    map		(hd1) (hd0)
    chainloader	+1
    


    mi version
    Código:
    # menu.lst - See: grub(8), info grub, update-grub(8)
    #            grub-install(8), grub-floppy(8),
    #            grub-md5-crypt, /usr/share/doc/grub
    #            and /usr/share/doc/grub-doc/.
    
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default		0
    
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout		10
    
    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    #hiddenmenu
    
    # Pretty colours
    #color cyan/blue white/blue
    
    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line)  and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    #      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret
    
    #
    # examples
    #
    # title		Windows 95/98/NT/2000
    # root		(hd0,0)
    # makeactive
    # chainloader	+1
    #
    # title		Linux
    # root		(hd0,1)
    # kernel	/vmlinuz root=/dev/hda2 ro
    #
    
    #
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
    
    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below
    
    ## DO NOT UNCOMMENT THEM, Just edit them to your needs
    
    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ##      kopt_2_6_8=root=/dev/hdc1 ro
    ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=b7313a95-480f-4e10-8ac7-4d82ef84388d ro
    
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=b7313a95-480f-4e10-8ac7-4d82ef84388d
    
    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ##      alternative=false
    # alternative=true
    
    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ##      lockalternative=false
    # lockalternative=false
    
    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet splash
    
    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ##      lockold=true
    # lockold=false
    
    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=
    
    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0
    
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ##      altoptions=(recovery) single
    # altoptions=(recovery mode) single
    
    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ##      howmany=7
    # howmany=all
    
    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ##      memtest86=false
    # memtest86=true
    
    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false
    
    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false
    
    ## ## End Default Options ##
    
    
    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sdb1
    title		Microsoft Windows XP Professional
    root		(hd0,1)
    savedefault
    makeactive
    map		(hd0) (hd1)
    map		(hd1) (hd0)
    chainloader	+1
    
    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title		Other operating systems:
    root
    
    title		Ubuntu 8.10, kernel 2.6.27-7-generic
    uuid		b7313a95-480f-4e10-8ac7-4d82ef84388d
    kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=b7313a95-480f-4e10-8ac7-4d82ef84388d ro quiet splash 
    initrd		/boot/initrd.img-2.6.27-7-generic
    quiet
    
    title		Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
    uuid		b7313a95-480f-4e10-8ac7-4d82ef84388d
    kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=b7313a95-480f-4e10-8ac7-4d82ef84388d ro  single
    initrd		/boot/initrd.img-2.6.27-7-generic
    
    title		Ubuntu 8.10, memtest86+
    uuid		b7313a95-480f-4e10-8ac7-4d82ef84388d
    kernel		/boot/memtest86+.bin
    quiet
    
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    

    teniendo en cuenta q este e mi boot.ini de W$

    Código:
    [boot loader]
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
    
    y este el reporte del '$ sudo fdisk -l' :

    Código:
    Disco /dev/sda: 10.2 GB, 10242892800 bytes
    255 cabezas, 63 sectores/pista, 1245 cilindros
    Unidades = cilindros de 16065 * 512 = 8225280 bytes
    Identificador de disco: 0x56af4d05
    
    Disposit. Inicio    Comienzo      Fin      Bloques  Id  Sistema
    /dev/sda1   *           1         996     8000338+   7  HPFS/NTFS
    /dev/sda2             997        1245     2000092+   f  W95 Ext'd (LBA)
    /dev/sda5             997        1245     2000061    b  W95 FAT32
    
    Disco /dev/sdb: 160.0 GB, 160041885696 bytes
    255 cabezas, 63 sectores/pista, 19457 cilindros
    Unidades = cilindros de 16065 * 512 = 8225280 bytes
    Identificador de disco: 0x0a4d0a4c
    
    Disposit. Inicio    Comienzo      Fin      Bloques  Id  Sistema
    /dev/sdb1   *           1        2611    20972826    7  HPFS/NTFS
    /dev/sdb2            5223        5744     4192965    5  Extendida
    /dev/sdb3            5745       19456   110141608+   7  HPFS/NTFS
    /dev/sdb4            2612        5222    20972857+  83  Linux
    /dev/sdb5            5223        5744     4192933+  82  Linux swap / Solaris
    
    Las entradas de la tabla de particiones no están en el orden del disco
    

    CHAO
    GRAX
    Me gusta este mensaje
  • #6 Re: Principal S.O. en el GRUB?

    Iniciar Windows como Sistema Operativo Por Defecto En GRUB
    Si instalaste alguna distro linux (Debian, Ubuntu, Slackware, Gentoo) teniendo instaldo anteriormente Windows, lo que se instalara para poder acceder a culquier sistema operativo que ya tengas en tu PC sera GRUB, un BootLoader que nos permite seleccionar a que SO entrar.
    Por defecto GRUB configura como sistema operativo de inicio a la distro Linux que acabamos de instalar, dejando un tiempo de 10 segundos para elegir otro, al terminar ese tiempo se carga automáticamente el SO predeterminado por GRUB.


    iniciamos Ubuntu
    Abrimos desde el gestor de ventanas (KDE, Gnome) una Terminal y
    escribimos en ella:
    sudo gedit /boot/grub/menu.lst
    Buscamos una linea que dice:

    default 0
    en donde el 0 es el lugar que ocupa en la lista el sistema operativo por defecto de GRUB, lo que haremos es cambiar ese numero por otro, que es el que representa la ubicación del sistema operativo que queremos poner como predeterminado, tener en cuenta que 0 es el primero de la lista, por lo tanto la segunda linea es el 1, la tercera el 3 y asi sucesivamente, si en GRUB apareciera una linea que dice Other Operating Systems, también tenerla en cuenta. En el caso de la imagen a Windows le corresponde el numero 4.

    Luego de haber hecho esta modificación también podríamos modificar el tiempo de espera que por defecto es de 10 segundos, para ello buscar la linea que dice:

    timeout 10
    y cambiar el 10 por otro numero (si queremos 20 segundos pondremos 20)
    Guardamos todo y reiniciamos.

    http://blackflash.com.ar/2007/11/03/...fecto-en-grub/

    no se por qeu no lo hice desde un principio
    Me gusta este mensaje
  • #7 Re: Principal S.O. en el GRUB?

    ya lo arregle, muchisimas gracias!!!!
    Me gusta este mensaje


Estadísticas del tema
  • 6 RESPUESTAS
  • 117 VISTAS
  • 2 USUARIOS RESPONDIERON
 
Ir arriba
Contacto | Acerca de | Ayuda | Términos Legales | privacidad | Pautas de convivencia | Mapa de los foros | TrabajÁ con nosotros
©2008 Psicofxp.com S.A. - Todos los derechos reservados
Certifica IAB