LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-16-2010, 08:35 PM   #16
chadlaman
LQ Newbie
 
Registered: Nov 2010
Posts: 10

Original Poster
Rep: Reputation: 1

Boot Info Script 0.55 dated February 15th, 2010

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

=> Windows is installed in the MBR of /dev/sda
=> Windows is installed in the MBR of /dev/sdb

sda1: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.10
Boot files/dirs: /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:

sdb1: _________________________________________________________________________

File system: vfat
Boot sector type: Windows XP: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /boot/grub/grub.cfg

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

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 * 2,048 1,417,129,983 1,417,127,936 83 Linux
/dev/sda2 1,417,132,030 1,465,147,391 48,015,362 5 Extended
/dev/sda5 1,417,132,032 1,465,147,391 48,015,360 82 Linux swap / Solaris


Drive: sdb ___________________ _____________________________________________________

Disk /dev/sdb: 8019 MB, 8019509248 bytes
20 heads, 16 sectors/track, 48947 cylinders, total 15663104 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdb1 * 80 15,663,103 15,663,024 c W95 FAT32 (LBA)


blkid -c /dev/null: ____________________________________________________________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 45d61db9-8467-40d2-9c56-a0ca707f5f95 ext4
/dev/sda2: PTTYPE="dos"
/dev/sda5 492b327f-3da4-45e7-be38-192213b51f73 swap
/dev/sda: PTTYPE="dos"
/dev/sdb1 79D0-DBE4 vfat Lexar
/dev/sdb: PTTYPE="dos"
error: /dev/sdc: No medium found
error: /dev/sdd: No medium found
error: /dev/sde: No medium found
error: /dev/sdf: No medium found

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

aufs / aufs (rw)
/dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda1 /media/45d61db9-8467-40d2-9c56-a0ca707f5f95 ext4 (rw,nosuid,nodev,uhelper=udisks)


=========================== 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 part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 45d61db9-8467-40d2-9c56-a0ca707f5f95
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 45d61db9-8467-40d2-9c56-a0ca707f5f95
set locale_dir=($root)/boot/grub/locale
set lang=en
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, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 45d61db9-8467-40d2-9c56-a0ca707f5f95
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=45d61db9-8467-40d2-9c56-a0ca707f5f95 ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 45d61db9-8467-40d2-9c56-a0ca707f5f95
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=45d61db9-8467-40d2-9c56-a0ca707f5f95 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-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='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 45d61db9-8467-40d2-9c56-a0ca707f5f95
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 45d61db9-8467-40d2-9c56-a0ca707f5f95
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
/dev/sda1 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=492b327f-3da4-45e7-be38-192213b51f73 none swap sw 0 0

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


279.3GB: boot/grub/core.img
176.2GB: boot/grub/grub.cfg
.8GB: boot/initrd.img-2.6.35-22-generic
.6GB: boot/vmlinuz-2.6.35-22-generic
.8GB: initrd.img
.6GB: vmlinuz

=========================== sdb1/boot/grub/grub.cfg: ===========================


if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

menuentry "Try Ubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
initrd /casper/initrd.lz
}
menuentry "Install Ubuntu" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
initrd /casper/initrd.lz
}
menuentry "Check disc for defects" {
set gfxpayload=keep
linux /casper/vmlinuz boot=casper integrity-check quiet splash --
initrd /casper/initrd.lz
}

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


??GB: boot/grub/grub.cfg
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda2

00000000 f4 73 b7 32 4b e8 84 f1 a9 04 46 8c a3 8b 36 c0 |.s.2K.....F...6.|
00000010 47 49 dc 33 72 16 c8 42 50 9e 97 5d 24 91 0c 35 |GI.3r..BP..]$..5|
00000020 af ee 1c ad 56 6f 7d 57 2a c3 52 19 00 d9 b5 00 |....Vo}W*.R.....|
00000030 a7 9c f4 1e cf 74 c8 9e 1b 02 ce ca 8b c1 ab 89 |.....t..........|
00000040 1b 48 b5 80 f4 0c 1a aa 29 06 63 ce ef ce 62 5a |.H......).c...bZ|
00000050 b2 79 5d 3b 18 9c dd a7 11 38 e6 00 00 d1 22 b5 |.y];.....8....".|
00000060 9c fb 25 8c df a0 b2 d1 62 14 c0 75 1c 16 d9 89 |..%.....b..u....|
00000070 2e da 9d d3 dd d2 a9 27 79 ca 89 d9 29 c1 14 73 |.......'y...)..s|
00000080 4e b8 ae 18 4c e7 20 b5 3d e0 84 0e 49 18 95 77 |N...L. .=...I..w|
00000090 e2 a6 c0 d2 bb 34 89 74 41 20 26 44 1e 23 8a 96 |.....4.tA &D.#..|
000000a0 72 a3 2f 74 8b 7b 97 e3 1a ea 35 a0 f2 14 26 c5 |r./t.{....5...&.|
000000b0 6d 28 6a 8d 3a ea 22 a4 d1 a8 c7 39 dd 42 65 2b |m(j.:."....9.Be+|
000000c0 c7 13 20 ec 60 00 16 8c 8c 8d e6 c9 74 00 26 c2 |.. .`.......t.&.|
000000d0 f5 57 b2 30 09 b8 d6 82 32 18 a5 65 eb 4a 86 0a |.W.0....2..e.J..|
000000e0 94 76 ec 88 ed 7e b7 ae b6 c7 1f 26 ae 77 1f 61 |.v...~.....&.w.a|
000000f0 2c 52 c5 a7 0b 24 6c 4e 3f 9a 3a 2c 83 7b b5 9a |,R...$lN?.:,.{..|
00000100 72 2d 24 35 01 61 e8 55 f8 7f 03 17 a5 d5 11 34 |r-$5.a.U.......4|
00000110 3c 05 1a 97 89 d0 87 3b 99 c6 ea 85 c2 59 a8 4e |<......;.....Y.N|
00000120 52 73 0a 4c 72 7d 12 cc 10 3c 49 e1 11 a6 00 02 |Rs.Lr}...<I.....|
00000130 08 00 51 30 9e a8 09 b4 80 01 2b 0f 6e f4 2c 8c |..Q0......+.n.,.|
00000140 10 be 5d 64 f6 31 74 42 d5 00 f2 51 5c ec 75 c2 |..]d.1tB...Q\.u.|
00000150 e3 4e 8e 9c d2 0e 3b d7 5d 27 a9 a9 a4 e2 52 19 |.N....;.]'....R.|
00000160 d9 3b 2f 99 1d b7 73 79 12 86 6d fb d8 bd 70 52 |.;/...sy..m...pR|
00000170 9d 96 d3 4d 11 6d 3e 1e 3b fd 6f d9 ca 73 c0 f0 |...M.m>.;.o..s..|
00000180 62 a3 c2 f3 15 b9 33 41 87 32 21 05 96 8c 69 99 |b.....3A.2!...i.|
00000190 1c ca 9d 43 cb 8d 9a 95 f5 94 94 81 33 a9 aa 01 |...C........3...|
000001a0 00 29 4e 0b 77 6c 37 14 40 43 ff 53 06 f3 62 dd |.)N.wl7.@C.S..b.|
000001b0 08 08 08 07 a0 80 80 a0 bf 9a 02 25 5c f9 00 fe |...........%\...|
000001c0 ff ff 82 fe ff ff 02 00 00 00 00 a8 dc 02 00 00 |................|
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


=======Devices which don't seem to have a corresponding hard drive==============

sdc sdd sde sdf
 
Old 11-16-2010, 08:36 PM   #17
chadlaman
LQ Newbie
 
Registered: Nov 2010
Posts: 10

Original Poster
Rep: Reputation: 1
finally got it to work any help from here would be greatly appreciated
 
Old 11-16-2010, 10:35 PM   #18
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,846

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
Sorry to say, but looking at that you wiped Windows out.
The reason for the no operating system message is because the Windows boot-loader is still in the MBR, but the code is gone. You could get the Ubuntu system going by writing grub to the MBR, but your Win7 system is gone.
 
Old 11-17-2010, 01:20 AM   #19
bsat
Member
 
Registered: Feb 2009
Posts: 347

Rep: Reputation: 72
you could try booting from the live cd and see what drives you can access, but from the looks of it your windows does not seem to be present.

Last edited by bsat; 11-17-2010 at 01:40 AM.
 
Old 11-17-2010, 01:34 AM   #20
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,846

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
I think I may know what happened. On the machine I tested the liveCD on it came down as boot_info_script055.sh - hence the instructions I gave.
On another (Ubuntu) machine I just tried it came down as "latest". I suspect this is where the OP got confused.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 10.04 live usb missing operating system? grahamcrackeh Linux - Newbie 8 09-13-2010 05:57 PM
'Operating system not found' Any operating system installed wont work. TechniSlave Linux - Newbie 55 02-09-2009 12:02 PM
error during Ubuntu install, now says "Missing Operating System" DJGCrusader Linux - Newbie 6 08-11-2007 08:12 PM
Dual operating system: Grub dont detect Windows Xp installed in Sata Harddisk sanjeebko Linux - Hardware 2 04-05-2006 08:30 PM


All times are GMT -5. The time now is 05:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration