Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25

Thread: Dual Boot starting with ubuntu

  1. #11
    Join Date
    Aug 2009
    Location
    United States
    Beans
    4,523
    Distro
    Ubuntu Development Release

    Re: Dual Boot starting with ubuntu

    you have 45gig of data on your primary partition (sda1), whats with that?
    Hi jerrys,
    Looks like OP has about 41 gig of /home going on, does not have a seperate /home.
    Maybe OP has it all backed up and wants to make a new partition for XP who really knows
    only got about 8 gig left on drive. EDIT: just saw OP's last post he has 20 gig to play with.

    RFRFG: make sure you got your stuff backed up before you start playing with partition table
    or you are likely to lose it.
    Code:
    sudo parted -l
    (lower case L)
    This will give partitions in gigs.
    ##Have a nice day.
    Last edited by garvinrick4; June 1st, 2011 at 03:40 AM.
    Remember hence where you come and pass it down.
    Ubuntu Forums member #899097 and Ubuntu Member:


  2. #12
    Join Date
    Nov 2008
    Beans
    Hidden!

    Re: Dual Boot starting with ubuntu

    back to your question in post#4. if you don't have ubuntu installed, then you have no use for swap or the extended partition. so yes, wipe it if you want.

  3. #13
    Join Date
    Jun 2011
    Beans
    27

    Re: Dual Boot starting with ubuntu

    ubuntu is my current os.

    i've learned that my bios is capable of booting from a usb drive, and i have a compatible usb drive to boot from, but when i tried setting it up (it was suggested to remove hard drives first and install to usb drive) on my PC, it wouldn't boot my altered CD (i must have done something wrong) and now my PC booting is out of order. so now i have another problem... i was using these directions: http://tdoui.webs.com/Install%20And%...From%20USB.pdf

  4. #14
    Join Date
    Aug 2009
    Location
    United States
    Beans
    4,523
    Distro
    Ubuntu Development Release

    Re: Dual Boot starting with ubuntu

    Run this script in a live cd or usb:
    download script to DESKTOP and then run this line of code in a terminal will put a file
    on desktop called RESULTS copy and paste here. After copied here highlight whole thing
    and hit the # in upper right or Message box will be easier to read bootscript.

    SourceForge.net: Boot Info Script - Project Web Hosting - Open Source Software
    Code:
      sudo bash ~/Desktop/boot_info_script.sh
    Remember hence where you come and pass it down.
    Ubuntu Forums member #899097 and Ubuntu Member:


  5. #15
    Join Date
    Jun 2011
    Beans
    27

    Re: Dual Boot starting with ubuntu

    Boot Info Script 0.60 from 17 May 2011


    ============================= Boot Info Summary: ===============================

    => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for (,msdos1)/boot/grub on this drive.

    sda1: __________________________________________________ ________________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu 11.04
    Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

    sda2: __________________________________________________ ________________________

    File system: Extended Partition
    Boot sector type: Unknown
    Boot sector info:

    sda5: __________________________________________________ ________________________

    File system: swap
    Boot sector type: -
    Boot sector info:

    ============================ Drive/Partition Info: =============================

    Drive: sda __________________________________________________ ___________________

    Disk /dev/sda: 60.0 GB, 60011642880 bytes
    255 heads, 63 sectors/track, 7296 cylinders, total 117210240 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes

    Partition Boot Start Sector End Sector # of Sectors Id System

    /dev/sda1 * 2,048 112,332,799 112,330,752 83 Linux
    /dev/sda2 112,334,846 117,209,087 4,874,242 5 Extended
    /dev/sda5 112,334,848 117,209,087 4,874,240 82 Linux swap / Solaris


    "blkid" output: __________________________________________________ ______________

    Device UUID TYPE LABEL

    /dev/sda1 97ca4230-db32-43b4-972c-d4414d1ec8b2 ext4
    /dev/sda5 53298d50-80dd-4090-85d6-a31ca2547c2a swap

    ================================ Mount points: =================================

    Device Mount_Point Type Options

    /dev/sda1 / ext4 (rw,errors=remount-ro,commit=0)


    =========================== sda1/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
    set have_grubenv=true
    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
    }

    function load_video {
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    }

    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 97ca4230-db32-43b4-972c-d4414d1ec8b2
    if loadfont /usr/share/grub/unicode.pf2 ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    fi
    terminal_output gfxterm
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 97ca4230-db32-43b4-972c-d4414d1ec8b2
    set locale_dir=($root)/boot/grub/locale
    set lang=en_US
    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 ###
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 97ca4230-db32-43b4-972c-d4414d1ec8b2
    insmod png
    if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
    set color_normal=light-gray/black
    set color_highlight=white/black
    else
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    if background_color 44,0,30; then
    clear
    fi
    fi
    ### END /etc/grub.d/05_debian_theme ###

    ### BEGIN /etc/grub.d/10_linux ###
    if [ ${recordfail} != 1 ]; then
    if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
    if [ ${match} = 0 ]; then
    set linux_gfx_mode=keep
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=keep
    fi
    else
    set linux_gfx_mode=text
    fi
    export linux_gfx_mode
    if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
    menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 97ca4230-db32-43b4-972c-d4414d1ec8b2
    linux /boot/vmlinuz-2.6.38-8-generic root=UUID=97ca4230-db32-43b4-972c-d4414d1ec8b2 ro quiet splash vt.handoff=7
    initrd /boot/initrd.img-2.6.38-8-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 97ca4230-db32-43b4-972c-d4414d1ec8b2
    echo 'Loading Linux 2.6.38-8-generic ...'
    linux /boot/vmlinuz-2.6.38-8-generic root=UUID=97ca4230-db32-43b4-972c-d4414d1ec8b2 ro single
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.38-8-generic
    }
    submenu "Previous Linux versions" {
    menuentry 'Ubuntu, with Linux 2.6.35-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 97ca4230-db32-43b4-972c-d4414d1ec8b2
    linux /boot/vmlinuz-2.6.35-28-generic root=UUID=97ca4230-db32-43b4-972c-d4414d1ec8b2 ro quiet splash vt.handoff=7
    initrd /boot/initrd.img-2.6.35-28-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.35-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 97ca4230-db32-43b4-972c-d4414d1ec8b2
    echo 'Loading Linux 2.6.35-28-generic ...'
    linux /boot/vmlinuz-2.6.35-28-generic root=UUID=97ca4230-db32-43b4-972c-d4414d1ec8b2 ro single
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.35-28-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 97ca4230-db32-43b4-972c-d4414d1ec8b2
    linux /boot/vmlinuz-2.6.32-21-generic root=UUID=97ca4230-db32-43b4-972c-d4414d1ec8b2 ro quiet splash vt.handoff=7
    initrd /boot/initrd.img-2.6.32-21-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 97ca4230-db32-43b4-972c-d4414d1ec8b2
    echo 'Loading Linux 2.6.32-21-generic ...'
    linux /boot/vmlinuz-2.6.32-21-generic root=UUID=97ca4230-db32-43b4-972c-d4414d1ec8b2 ro single
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.32-21-generic
    }
    }
    ### END /etc/grub.d/10_linux ###

    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###

    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 97ca4230-db32-43b4-972c-d4414d1ec8b2
    linux16 /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 97ca4230-db32-43b4-972c-d4414d1ec8b2
    linux16 /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###

    ### BEGIN /etc/grub.d/30_os-prober ###
    if [ "x${timeout}" != "x-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 ###

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

    =============================== sda1/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
    # / was on /dev/sda1 during installation
    UUID=97ca4230-db32-43b4-972c-d4414d1ec8b2 / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda5 during installation
    UUID=53298d50-80dd-4090-85d6-a31ca2547c2a none swap sw 0 0
    --------------------------------------------------------------------------------

    =================== sda1: Location of files loaded by Grub: ====================

    GiB - GB File Fragment(s)

    18.134620667 = 19.471900672 boot/grub/core.img 1
    2.363983154 = 2.538307584 boot/grub/grub.cfg 1
    18.331218719 = 19.682996224 boot/initrd.img-2.6.32-21-generic 1
    18.458515167 = 19.819679744 boot/initrd.img-2.6.35-28-generic 1
    36.505313873 = 39.197282304 boot/initrd.img-2.6.38-8-generic 2
    18.264194489 = 19.611029504 boot/vmlinuz-2.6.32-21-generic 1
    18.335220337 = 19.687292928 boot/vmlinuz-2.6.35-28-generic 1
    1.829406738 = 1.964310528 boot/vmlinuz-2.6.38-8-generic 1
    36.505313873 = 39.197282304 initrd.img 2
    18.458515167 = 19.819679744 initrd.img.old 1
    1.829406738 = 1.964310528 vmlinuz 1
    18.335220337 = 19.687292928 vmlinuz.old 1

    ======================== Unknown MBRs/Boot Sectors/etc: ========================

    Unknown BootLoader on sda2

    00000000 72 72 72 72 72 72 72 72 72 72 72 72 72 72 72 72 |rrrrrrrrrrrrrrrr|
    *
    000001b0 72 72 72 72 72 72 72 72 72 72 72 72 72 72 00 fe |rrrrrrrrrrrrrr..|
    000001c0 ff ff 82 fe ff ff 02 00 00 00 00 60 4a 00 00 00 |...........`J...|
    000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    *
    000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
    00000200


    =============================== StdErr Messages: ===============================

    unlzma: Decoder error

  6. #16
    Join Date
    Aug 2009
    Location
    United States
    Beans
    4,523
    Distro
    Ubuntu Development Release

    Re: Dual Boot starting with ubuntu

    We are going to purge and then reinstall grub to mbr:
    Put in Live Cd or Usb and use Try Ubuntu and with internet working. (firefox works to get online)
    Now copy and paste these one at a time.
    Code:
    Code:
    sudo mount /dev/sda1 /mnt
    Code:
    for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done
    Code:
    sudo cp /etc/resolv.conf  /mnt/etc/resolv.conf
    Code:
    sudo chroot /mnt
    Code:
    apt-get update
    Should get update with no errors, if errors your internet was not working in live cd or usb
    Code:
    apt-get purge grub grub-common grub-pc
    Code:
    apt-get install grub-common grub-pc
    Use tab to toggle and say OK to put in sda
    Code:
    grub-install /dev/sda
    above redundant but just in case
    Code:
    update-grub
    Code:
    exit
    Code:
    for i in /dev/pts /dev /proc /sys; do sudo umount /mnt$i ; done
    Code:
    sudo umount /mnt
    Code:
    sudo reboot
    A few redundant commands but just want to make sure it is in sda and updated.
    Last edited by garvinrick4; June 2nd, 2011 at 02:10 AM.
    Remember hence where you come and pass it down.
    Ubuntu Forums member #899097 and Ubuntu Member:


  7. #17
    Join Date
    Jun 2011
    Beans
    27

    Re: Dual Boot starting with ubuntu

    i'm sorry, what do you mean by live cd or usb?

  8. #18
    Join Date
    Aug 2009
    Location
    United States
    Beans
    4,523
    Distro
    Ubuntu Development Release

    Re: Dual Boot starting with ubuntu

    Quote Originally Posted by RFRFG View Post
    i'm sorry, what do you mean by live cd or usb?
    A install CD of Ubuntu and use Try Ubuntu instead of install Ubuntu when it asks.
    Will then go to a Ubuntu desktop and in upper right hand corner is network applet
    get your internet going and then you can open a terminal to copy and paste each line
    of code by: ctrl/alt/t :at same time and terminal will pop up.

    ## Put CD in tray and reboot so it boots off of Cd and then choose Try Ubuntu:
    Better to ask question than do it wrong, Ok. Or the USB flash drive.
    Last edited by garvinrick4; June 2nd, 2011 at 02:37 AM.
    Remember hence where you come and pass it down.
    Ubuntu Forums member #899097 and Ubuntu Member:


  9. #19
    Join Date
    Aug 2009
    Location
    United States
    Beans
    4,523
    Distro
    Ubuntu Development Release

    Re: Dual Boot starting with ubuntu

    how did you get the bootscript? What did you use? If you are booting and using the 60 gig
    drive, let me know. That is all I see in bootscript, I think you are capable of booting into your
    Hard drive. If you are let me know.
    Remember hence where you come and pass it down.
    Ubuntu Forums member #899097 and Ubuntu Member:


  10. #20
    Join Date
    Aug 2009
    Location
    United States
    Beans
    4,523
    Distro
    Ubuntu Development Release

    Re: Dual Boot starting with ubuntu

    Quote Originally Posted by RFRFG View Post
    ubuntu is my current os.

    i've learned that my bios is capable of booting from a usb drive, and i have a compatible usb drive to boot from, but when i tried setting it up (it was suggested to remove hard drives first and install to usb drive) on my PC, it wouldn't boot my altered CD (i must have done something wrong) and now my PC booting is out of order. so now i have another problem... i was using these directions: http://tdoui.webs.com/Install%20And%...From%20USB.pdf
    http://ubuntuforums.org/showthread.php?t=1773239
    Remember hence where you come and pass it down.
    Ubuntu Forums member #899097 and Ubuntu Member:


Page 2 of 3 FirstFirst 123 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
  •