Page 4 of 69 FirstFirst ... 234561454 ... LastLast
Results 31 to 40 of 686

Thread: HOWTO: migrate wubi install to partition

  1. #31
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by ULTRAM4X View Post
    well, when i was here

    Code:
    root@ubuntu:~# apt-get -y remove lupin-support
    Leyendo lista de paquetes... Hecho
    Creando árbol de dependencias       
    Leyendo la información de estado... Hecho
    El paquete lupin-support no esta instalado, no se eliminará
    0 actualizados, 0 se instalarán, 0 para eliminar y 0 no actualizados.
    W: Duplicate sources.list entry http://archive.canonical.com/ lucid/partner Packages (/var/lib/apt/lists/archive.canonical.com_dists_lucid_partner_binary-amd64_Packages)
    W: Duplicate sources.list entry http://archive.canonical.com/ lucid/partner Packages (/var/lib/apt/lists/archive.canonical.com_dists_lucid_partner_binary-amd64_Packages)
    W: Tal vez quiera ejecutar 'apt-get update' para corregir estos problemas
    i get that error.

    trying

    Code:
    root@ubuntu:~# grub-install --recheck /dev/sda
    Probing devices to guess BIOS drives. This may take a long time.
    /dev/loop0 does not have any corresponding BIOS drive.
    So from my limited translation skills, it looks like you don't have lupin-support installed? This is strange since you should have booted into a wubi install before migrating.

    Can you run grub-install with the --debug option?

    i.e. grub-install --debug /dev/sda

    EDIT:
    if you're having issues, you can complete the migration - all the steps to exit the chroot (just ignore grub-install and update-grub). Then reboot and try again. You haven't changed the wubi install at this point, so you can just rerun the migration (and reformat the target partition). I am a bit concerned about the missing lupin-support, so think it's safer to try again.
    Last edited by bcbc; August 21st, 2010 at 09:40 PM.

  2. #32
    Join Date
    Aug 2010
    Beans
    7

    Re: HOWTO: migrate wubi install to partition

    yes, i had lupin-support before!

    but in this step

    Code:
    apt-get -y remove lupin-support
    was uninstalled.

    trying

    root@ubuntu:~# grub-install --debug /dev/sda

    Code:
    + bootdir=/boot
    + grubdir=/boot/grub
    + device_map=/boot/grub/device.map
    + set /usr/sbin/grub dummy
    + test -f /usr/sbin/grub
    + :
    + test -f /usr/lib/grub/x86_64-pc/stage1
    + :
    + test -f /usr/lib/grub/x86_64-pc/stage2
    + :
    + test -d /boot
    + test -d /boot/grub
    + test no = yes
    + test -f /boot/grub/device.map
    + :
    + sed -n /^([fh]d[0-9]*)/s/\(^(.*)\).*/\1/p /boot/grub/device.map
    + uniq -d
    + sort
    + sed -n 1p
    + tmp=
    + test -n 
    + find_device
    + df /
    + sed -n s%.*\(/dev/[^  ]*\).*%\1%p
    + tmp_fname=/dev/loop0
    + test -z /dev/loop0
    + resolve_symlink /dev/loop0
    + tmp_fname=/dev/loop0
    + test -L /dev/loop0
    + echo /dev/loop0
    + tmp_fname=/dev/loop0
    + echo /dev/loop0
    + root_device=/dev/loop0
    + find_device /boot
    + df /boot/
    + sed -n s%.*\(/dev/[^  ]*\).*%\1%p
    + tmp_fname=/dev/loop0
    + test -z /dev/loop0
    + resolve_symlink /dev/loop0
    + tmp_fname=/dev/loop0
    + test -L /dev/loop0
    + echo /dev/loop0
    + tmp_fname=/dev/loop0
    + echo /dev/loop0
    + bootdir_device=/dev/loop0
    + resolve_symlink /dev/sda
    + tmp_fname=/dev/sda
    + test -L /dev/sda
    + echo /dev/sda
    + install_device=/dev/sda
    + convert /dev/sda
    + test -e /dev/sda
    + :
    + sed -e s%\([vsh]d[a-z]\)[0-9]*$%\1% -e s%\(d[0-9]*\)p[0-9]*$%\1% -e s%\(fd[0-9]*\)$%\1% -e s%/part[0-9]*$%/disc% -e s%\(c[0-7]d[0-9]*\).*$%\1% -e s%\(e[0-9]\.[0-9]*\).*$%\1%
    + echo /dev/sda
    + tmp_disk=/dev/sda
    + echo /dev/sda
    + sed -e s%.*/[vsh]d[a-z]\([0-9]*\)$%\1% -e s%.*d[0-9]*p%% -e s%.*/fd[0-9]*$%% -e s%.*/floppy/[0-9]*$%% -e s%.*/\(disc\|part\([0-9]*\)\)$%\2% -e s%.*c[0-7]d[0-9]*p*%% -e s%.*e[0-9]\.[0-9]*p%% -e s%.*e[0-9]\.[0-9]*$%%
    + tmp_part=
    + grep -v ^# /boot/grub/device.map
    + sed s%.*\(([hf]d[0-9][a-z0-9,]*)\).*%\1%
    + grep /dev/sda *$
    + tmp_drive=(hd0)
    + test x(hd0) = x
    + test x != x
    + echo (hd0)
    + install_drive=(hd0)
    + test x(hd0) = x
    + test x/dev/loop0 != x/dev/loop0
    + convert /dev/loop0
    + test -e /dev/loop0
    + :
    + echo /dev/loop0
    + sed -e s%\([vsh]d[a-z]\)[0-9]*$%\1% -e s%\(d[0-9]*\)p[0-9]*$%\1% -e s%\(fd[0-9]*\)$%\1% -e s%/part[0-9]*$%/disc% -e s%\(c[0-7]d[0-9]*\).*$%\1% -e s%\(e[0-9]\.[0-9]*\).*$%\1%
    + tmp_disk=/dev/loop0
    + echo /dev/loop0
    + sed -e s%.*/[vsh]d[a-z]\([0-9]*\)$%\1% -e s%.*d[0-9]*p%% -e s%.*/fd[0-9]*$%% -e s%.*/floppy/[0-9]*$%% -e s%.*/\(disc\|part\([0-9]*\)\)$%\2% -e s%.*c[0-7]d[0-9]*p*%% -e s%.*e[0-9]\.[0-9]*p%% -e s%.*e[0-9]\.[0-9]*$%%
    + tmp_part=/dev/loop0
    + sed s%.*\(([hf]d[0-9][a-z0-9,]*)\).*%\1%
    + grep /dev/loop0 *$
    + grep -v ^# /boot/grub/device.map
    + tmp_drive=
    + test x = x
    + echo /dev/loop0 does not have any corresponding BIOS drive.
    /dev/loop0 does not have any corresponding BIOS drive.
    + mdadm --detail /dev/loop0
    + exit 1
    + root_drive=
    + test x = x
    + exit 1
    EDIT:

    Well, I think the best thing is to run the script
    but it appears the following:

    Code:
    root@ubuntu:/# sudo bash wubi-move.sh /dev/sda4 /dev/sda3
    wubi-move.sh: Grub (legacy) is installed - this code supports grub2
    Last edited by ULTRAM4X; August 21st, 2010 at 09:49 PM.

  3. #33
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by bcbc View Post
    These are the steps required to migrate a wubi 9.10 or 10.04 install to partition (grub2 only). The first part shows how to do a manual migration, and the second how to use the attached script to do an automated migration.
    Quote Originally Posted by ULTRAM4X View Post
    Well, I think the best thing is to run the script
    but it appears the following:

    Code:
    root@ubuntu:/# sudo bash wubi-move.sh /dev/sda4 /dev/sda3
    wubi-move.sh: Grub (legacy) is installed - this code supports grub2
    If you notice, my script only support grub2. This doesn't mean that you can't convert an install with grub-legacy, but not using the above commands (either manual or with the script). The script has that additional error check, because it's automated, but the onus is on you to do your own validation for the manual conversion (otherwise it would be too confusing to follow).

    give me a couple of minutes to check it out...

  4. #34
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: HOWTO: migrate wubi install to partition

    The best I can offer is to remove grub-legacy and install grub2 (in the chroot).

    So you'll have to run the following (first exit chroot, and then reenter because you need resolve.conf to have net access)
    Code:
    Edit commands erased - see post 38
    I will take a look at including a section to convert using grub-legacy in the future, but I'll need some time to figure it out and test it.
    Last edited by bcbc; August 23rd, 2010 at 05:41 AM.

  5. #35
    Join Date
    Aug 2010
    Beans
    7

    Re: HOWTO: migrate wubi install to partition

    sorry for my ignorance (and for my English) but I am new at this,

    how
    exit chroot, and then reenter?





  6. #36
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by ULTRAM4X View Post
    sorry for my ignorance (and for my English) but I am new at this,

    how
    exit chroot, and then reenter?




    No worries - you can just enter the commands as I wrote them.
    Code:
    EDIT:commands erased - see post 38
    If you get any error or something looks incorrect just post back.
    Last edited by bcbc; August 23rd, 2010 at 01:59 AM.

  7. #37
    Join Date
    Aug 2010
    Beans
    7

    Re: HOWTO: migrate wubi install to partition

    typing exit closes the terminal

    and
    Code:
    ultram4x@ubuntu:/$ cp /etc/resolv.conf /tmp/wubimove/etc
    cp: no se puede crear el fichero regular «/tmp/wubimove/etc»: No existe el archivo o directorio
    im using Kubuntu 10.04

  8. #38
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: HOWTO: migrate wubi install to partition

    Quote Originally Posted by ULTRAM4X View Post
    typing exit closes the terminal

    and
    Code:
    ultram4x@ubuntu:/$ cp /etc/resolv.conf /tmp/wubimove/etc
    cp: no se puede crear el fichero regular «/tmp/wubimove/etc»: No existe el archivo o directorio
    im using Kubuntu 10.04
    If you were still in the chroot, then exit would take you out of it. Also it looks like /tmp/wubimove doesn't exist. Did you unmount and delete it? It's difficult for me to know exactly what you've done, but it looks like you exited the chroot and unmounted the target partition. At this point I think it's safer to forget about migrating and try again later, when I can give explicit, tested instructions start to finish. And/or include a script that will do it - which is safer for most users.

    EDIT: I haven't been able to successfully migrate a wubi install with legacy-grub - I'm removing instructions until such time as I have it working.

    UPDATE: See http://ubuntuforums.org/showpost.php...6&postcount=92 for migrating wubi with legacy-grub.
    Last edited by bcbc; November 2nd, 2010 at 07:44 AM.

  9. #39
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: HOWTO: migrate wubi install to partition

    Before you reboot, run the bootinfoscript and post the results back here. I just want to make sure you don't have grub in your MBR.

  10. #40
    Join Date
    Aug 2010
    Beans
    7

    Re: HOWTO: migrate wubi install to partition

    ok i run the last that u post and had no errors


    Here is the report made by bootinfoscript

    Code:
     Boot Info Script 0.55    dated February 15th, 2010                    
    
    ============================= Boot Info Summary: ==============================
    
     => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in 
        partition #4 for /boot/grub.
     => Paragon is installed in the MBR of /dev/sdb
     => Windows is installed in the MBR of /dev/sdc
    
    sda1: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   
    
    sda2: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   /ubuntu/winboot/wubildr.mbr /ubuntu/winboot/wubildr 
                           /ubuntu/disks/root.disk /ubuntu/disks/home.disk 
                           /ubuntu/disks/swap.disk
    
    sda2/Wubi: _________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 10.04.1 LTS
        Boot files/dirs:   /boot/grub/menu.lst /boot/grub/grub.cfg /etc/fstab
    
    sda3: _________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info:  
    
    sda4: _________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 10.04.1 LTS
        Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
    
    sdb1: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   /Boot/BCD
    
    sdb2: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   
    
    sdc1: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows 7
        Boot files/dirs:   /bootmgr /Boot/BCD /Windows/System32/winload.exe 
                           /wubildr.mbr /wubildr
    
    =========================== Drive/Partition Info: =============================
    
    Drive: sda ___________________ _____________________________________________________
    
    Disco /dev/sda: 320.1 GB, 320072933376 bytes
    255 cabezas, 63 sectores/pista, 38913 cilindros, 625142448 sectores en total
    Unidades = sectores de 1 * 512 = 512 bytes
    Tamaño de sector (lógico / físico): 512 bytes / 512 bytes
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sda1               2,048   245,762,047   245,760,000   7 HPFS/NTFS
    /dev/sda2         245,762,048   578,033,663   332,271,616   7 HPFS/NTFS
    /dev/sda3         578,034,765   582,131,339     4,096,575  82 Linux swap / Solaris
    /dev/sda4         582,131,340   625,137,344    43,006,005  83 Linux
    
    
    Drive: sdb ___________________ _____________________________________________________
    
    Disco /dev/sdb: 200.0 GB, 200049647616 bytes
    255 cabezas, 63 sectores/pista, 24321 cilindros, 390721968 sectores en total
    Unidades = sectores de 1 * 512 = 512 bytes
    Tamaño de sector (lógico / físico): 512 bytes / 512 bytes
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdb1    *          2,048   179,777,535   179,775,488   7 HPFS/NTFS
    /dev/sdb2         179,783,415   390,716,864   210,933,450   7 HPFS/NTFS
    
    
    Drive: sdc ___________________ _____________________________________________________
    
    Disco /dev/sdc: 82.0 GB, 81964302336 bytes
    255 cabezas, 63 sectores/pista, 9964 cilindros, 160086528 sectores en total
    Unidades = sectores de 1 * 512 = 512 bytes
    Tamaño de sector (lógico / físico): 512 bytes / 512 bytes
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdc1    *             63   160,081,714   160,081,652   7 HPFS/NTFS
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    Device           UUID                                   TYPE       LABEL                         
    
    /dev/loop0       899deaa9-ce2b-47c4-9937-b8d32e159d33   ext4                                     
    /dev/loop1       bc326b68-a05b-4e35-a8ef-9a7e350c60f9   ext3                                     
    /dev/sda1        5E68AF0868AEDE51                       ntfs       AnimE                         
    /dev/sda2        687402E07402B13C                       ntfs       Música y PeliS               
    /dev/sda3        bb7214ba-7a93-4e4f-9937-9b86e54c87ce   swap                                     
    /dev/sda4        56ac17b8-be0b-4250-bfcc-83efb9b44b71   ext4                                     
    /dev/sda: PTTYPE="dos" 
    /dev/sdb1        4E0849B80849A037                       ntfs       APPZ & DescargaS              
    /dev/sdb2        AE10873510870395                       ntfs       JuegoS                        
    /dev/sdb: PTTYPE="dos" 
    /dev/sdc1        F8289C1B289BD74A                       ntfs       RaiZ                          
    /dev/sdc: PTTYPE="dos" 
    
    ============================ "mount | grep ^/dev  output: ===========================
    
    Device           Mount_Point              Type       Options
    
    /dev/loop0       /                        ext4       (rw,errors=remount-ro)
    /dev/sda2        /host                    fuseblk    (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
    /dev/loop1       /home                    ext3       (rw)
    /dev/sdb2        /media/JuegoS            fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096)
    /dev/sdb1        /media/APPZ & DescargaS  fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096)
    /dev/sda1        /media/AnimE             fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096)
    /dev/sdc1        /media/RaiZ              fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096)
    
    
    ======================== sda2/Wubi/boot/grub/menu.lst: ========================
    
    # 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-legacy-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        3
    
    ## 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=687402E07402B13C loop=/ubuntu/disks/root.disk ro
    
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=687402E07402B13C
    
    ## 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
    
    ## specify if running in Xen domU or have grub detect automatically
    ## update-grub will ignore non-xen kernels when running in domU and vice versa
    ## e.g. indomU=detect
    ##      indomU=true
    ##      indomU=false
    # indomU=detect
    
    ## 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 10.04.1 LTS, kernel 2.6.32-24-generic
    uuid        687402E07402B13C
    kernel        /boot/vmlinuz-2.6.32-24-generic root=UUID=687402E07402B13C loop=/ubuntu/disks/root.disk ro quiet splash 
    initrd        /boot/initrd.img-2.6.32-24-generic
    
    title        Ubuntu 10.04.1 LTS, kernel 2.6.32-24-generic (recovery mode)
    uuid        687402E07402B13C
    kernel        /boot/vmlinuz-2.6.32-24-generic root=UUID=687402E07402B13C loop=/ubuntu/disks/root.disk ro  single
    initrd        /boot/initrd.img-2.6.32-24-generic
    
    title        Ubuntu 10.04.1 LTS, kernel 2.6.32-21-generic
    uuid        687402E07402B13C
    kernel        /boot/vmlinuz-2.6.32-21-generic root=UUID=687402E07402B13C loop=/ubuntu/disks/root.disk ro quiet splash 
    initrd        /boot/initrd.img-2.6.32-21-generic
    
    title        Ubuntu 10.04.1 LTS, kernel 2.6.32-21-generic (recovery mode)
    uuid        687402E07402B13C
    kernel        /boot/vmlinuz-2.6.32-21-generic root=UUID=687402E07402B13C loop=/ubuntu/disks/root.disk ro  single
    initrd        /boot/initrd.img-2.6.32-21-generic
    
    title        Ubuntu 10.04.1 LTS, memtest86+
    uuid        687402E07402B13C
    kernel        /boot/memtest86+.bin
    
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    
    ======================== sda2/Wubi/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 ###
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/10_lupin ###
    menuentry "Ubuntu, Linux 2.6.32-24-generic" {
        insmod ntfs
        set root='(hd0,2)'
        search --no-floppy --fs-uuid --set 687402e07402b13c
        loopback loop0 /ubuntu/disks/root.disk
        set root=(loop0)
        linux /boot/vmlinuz-2.6.32-24-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro   quiet splash
        initrd /boot/initrd.img-2.6.32-24-generic
    }
    menuentry "Ubuntu, Linux 2.6.32-24-generic (recovery mode)" {
        insmod ntfs
        set root='(hd0,2)'
        search --no-floppy --fs-uuid --set 687402e07402b13c
        loopback loop0 /ubuntu/disks/root.disk
        set root=(loop0)
        linux /boot/vmlinuz-2.6.32-24-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro single 
        initrd /boot/initrd.img-2.6.32-24-generic
    }
    menuentry "Ubuntu, Linux 2.6.32-21-generic" {
        insmod ntfs
        set root='(hd0,2)'
        search --no-floppy --fs-uuid --set 687402e07402b13c
        loopback loop0 /ubuntu/disks/root.disk
        set root=(loop0)
        linux /boot/vmlinuz-2.6.32-21-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro   quiet splash
        initrd /boot/initrd.img-2.6.32-21-generic
    }
    menuentry "Ubuntu, Linux 2.6.32-21-generic (recovery mode)" {
        insmod ntfs
        set root='(hd0,2)'
        search --no-floppy --fs-uuid --set 687402e07402b13c
        loopback loop0 /ubuntu/disks/root.disk
        set root=(loop0)
        linux /boot/vmlinuz-2.6.32-21-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro single 
        initrd /boot/initrd.img-2.6.32-21-generic
    }
    ### END /etc/grub.d/10_lupin ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Windows 7 (loader) (on /dev/sdc1)" {
        insmod ntfs
        set root='(hd2,1)'
        search --no-floppy --fs-uuid --set f8289c1b289bd74a
        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 ###
    
    ============================= sda2/Wubi/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
    /host/ubuntu/disks/root.disk /               ext4    loop,errors=remount-ro 0       1
    /host/ubuntu/disks/swap.disk none            swap    loop,sw         0       0
    /host/ubuntu/disks/home.disk    /home    ext3    loop    0    0
    
    ================= sda2/Wubi: Location of files loaded by Grub: =================
    
    
       2.8GB: boot/grub/grub.cfg
       6.7GB: boot/grub/menu.lst
       1.8GB: boot/initrd.img-2.6.32-21-generic
       5.6GB: boot/initrd.img-2.6.32-24-generic
       3.4GB: boot/vmlinuz-2.6.32-21-generic
       4.1GB: boot/vmlinuz-2.6.32-24-generic
       5.6GB: initrd.img
       1.8GB: initrd.img.old
       4.1GB: vmlinuz
       3.4GB: vmlinuz.old
    
    =========================== sda4/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
    }
    insmod ext2
    set root='(hd0,4)'
    search --no-floppy --fs-uuid --set 56ac17b8-be0b-4250-bfcc-83efb9b44b71
    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,4)'
    search --no-floppy --fs-uuid --set 56ac17b8-be0b-4250-bfcc-83efb9b44b71
    set locale_dir=($root)/boot/grub/locale
    set lang=es
    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, con Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,4)'
        search --no-floppy --fs-uuid --set 56ac17b8-be0b-4250-bfcc-83efb9b44b71
        linux    /boot/vmlinuz-2.6.32-24-generic root=UUID=56ac17b8-be0b-4250-bfcc-83efb9b44b71 ro   quiet splash
        initrd    /boot/initrd.img-2.6.32-24-generic
    }
    menuentry 'Ubuntu, con Linux 2.6.32-24-generic (modo recuperación)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,4)'
        search --no-floppy --fs-uuid --set 56ac17b8-be0b-4250-bfcc-83efb9b44b71
        echo    'Cargando Linux 2.6.32-24-generic ...'
        linux    /boot/vmlinuz-2.6.32-24-generic root=UUID=56ac17b8-be0b-4250-bfcc-83efb9b44b71 ro single 
        echo    'Cargando el disco RAM inicial...'
        initrd    /boot/initrd.img-2.6.32-24-generic
    }
    menuentry 'Ubuntu, con Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,4)'
        search --no-floppy --fs-uuid --set 56ac17b8-be0b-4250-bfcc-83efb9b44b71
        linux    /boot/vmlinuz-2.6.32-21-generic root=UUID=56ac17b8-be0b-4250-bfcc-83efb9b44b71 ro   quiet splash
        initrd    /boot/initrd.img-2.6.32-21-generic
    }
    menuentry 'Ubuntu, con Linux 2.6.32-21-generic (modo recuperación)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,4)'
        search --no-floppy --fs-uuid --set 56ac17b8-be0b-4250-bfcc-83efb9b44b71
        echo    'Cargando Linux 2.6.32-21-generic ...'
        linux    /boot/vmlinuz-2.6.32-21-generic root=UUID=56ac17b8-be0b-4250-bfcc-83efb9b44b71 ro single 
        echo    'Cargando el disco RAM inicial...'
        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,4)'
        search --no-floppy --fs-uuid --set 56ac17b8-be0b-4250-bfcc-83efb9b44b71
        linux16    /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod ext2
        set root='(hd0,4)'
        search --no-floppy --fs-uuid --set 56ac17b8-be0b-4250-bfcc-83efb9b44b71
        linux16    /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    if [ ${timeout} != -1 ]; then
      if keystatus; then
        if keystatus --shift; then
          set timeout=-1
        else
          set timeout=0
        fi
      else
        if sleep --interruptible 3 ; then
          set timeout=0
        fi
      fi
    fi
    ### 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 ###
    
    =============================== sda4/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
    
    
    
    UUID=56ac17b8-be0b-4250-bfcc-83efb9b44b71    /    ext4    errors=remount-ro    0    1
    UUID=bb7214ba-7a93-4e4f-9937-9b86e54c87ce    none    swap    sw    0    0
    
    =================== sda4: Location of files loaded by Grub: ===================
    
    
     307.1GB: boot/grub/core.img
     307.2GB: boot/grub/grub.cfg
     298.1GB: boot/initrd.img-2.6.32-21-generic
     306.7GB: boot/initrd.img-2.6.32-24-generic
     306.7GB: boot/vmlinuz-2.6.32-21-generic
     306.7GB: boot/vmlinuz-2.6.32-24-generic
     306.7GB: initrd.img
     298.1GB: initrd.img.old
     306.7GB: vmlinuz
     306.7GB: vmlinuz.old
    now i will reboot

Page 4 of 69 FirstFirst ... 234561454 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •