PDA

View Full Version : [other] Operating Systems



Leftside
December 1st, 2010, 10:57 PM
I've got an HP Touchsmart tx2 laptop. Some of the stuff doesn't work under Ubuntu (or Ubuntu netbook), but I'm not too worried about all that, I'll tinker later and fix it.


Right now, my problem is I have a 300(ish) gig hard drive, 150(ish) is windows 7 (installed first), 70 is ubuntu desktop edition (installed second) third is Ubuntu Netbook (installed last).


When I boot in, there's a nice thing where it lets me choose what to boot into, except it doesn't give me an option to boot into Windows 7 anymore. It only lists Ubuntu and Ubuntu desktop. I suspect this is because I chose to "split largest partition" when installing ubuntu mobile... but I have no idea how to fix it.

If anyone could please give me a simple, for idiots guide on how to fix this, I'd be grateful.

lukeiamyourfather
December 1st, 2010, 11:01 PM
Run this command from one of the Linux installs. The sudo makes you root, the update-grub will tell GRUB to look for other operating systems and make a new list of items for the menu.


sudo update-grub

If that doesn't work let us know and we'll troubleshoot further.

Hippytaff
December 1st, 2010, 11:02 PM
Welcome to the forums
have you tried opening a terminal and typing


sudo update-grub

:-)

Hippytaff
December 1st, 2010, 11:05 PM
@Lukeiamyourfather - snap

beat me to it...it's hard typing with one hand with a sleeping baby on my other arm :-)

Leftside
December 1st, 2010, 11:12 PM
I've got an HP Touchsmart tx2 laptop. Some of the stuff doesn't work under Ubuntu (or Ubuntu netbook), but I'm not too worried about all that, I'll tinker later and fix it.


Right now, my problem is I have a 300(ish) gig hard drive, 150(ish) is windows 7 (installed first), 70 is ubuntu desktop edition (installed second) third is Ubuntu Netbook (installed last).


When I boot in, there's a nice thing where it lets me choose what to boot into, except it doesn't give me an option to boot into Windows 7 anymore. It only lists Ubuntu and Ubuntu desktop. I suspect this is because I chose to "split largest partition" when installing ubuntu mobile... but I have no idea how to fix it.

If anyone could please give me a simple, for idiots guide on how to fix this, I'd be grateful.Okay, unless GRUB has changed significantly (which is possible) or been skinned when I wasn't looking (it used to be a black screen with white text, and a white outlined box?) I didn't see it at all after I typed that in.

I restarted the computer, and it booted directly into ubuntu. At the bottom, it gave me the option to boot into "Ubuntu Desktop" "Ubuntu Netbook" and "User Defined" mode, and a few others... is that just the startup screen for ubuntu Netbook?

Is there a chance I'm completely missing something blatantly obvious?

Hippytaff
December 1st, 2010, 11:19 PM
ok...post the results.txt generated by this script http://bootinfoscript.sourceforge.net/
will show whats going on with you boot setup

Leftside
December 1st, 2010, 11:24 PM
Okay, I'm hoping I'm reading this right as it's saying I have a 320 gig hdd with 3 major partitions?


Boot Info Script 0.55 dated February 15th, 2010

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

=> No boot loader is installed in the MBR of /dev/sda

sda1: __________________________________________________ _______________________

File system: ext4
Boot sector type: Grub 2
Boot sector info: Grub 2 is installed in the boot sector of sda1 and
looks at sector 33827664 of the same hard drive for
core.img, but core.img can not be found at this
location.
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:

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

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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 600,565,759 600,563,712 83 Linux
/dev/sda2 600,567,806 625,141,759 24,573,954 5 Extended
/dev/sda5 600,567,808 625,141,759 24,573,952 82 Linux swap / Solaris


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/sda1 8cbe5463-c222-4b22-9c05-dbf6e4c98827 ext4
/dev/sda2: PTTYPE="dos"
/dev/sda5 74a7ce8e-1088-4179-ad51-ce199113a43f swap
/dev/sda: PTTYPE="dos"
error: /dev/sdb: No medium found

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

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 part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 8cbe5463-c222-4b22-9c05-dbf6e4c98827
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 8cbe5463-c222-4b22-9c05-dbf6e4c98827
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 8cbe5463-c222-4b22-9c05-dbf6e4c98827
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=8cbe5463-c222-4b22-9c05-dbf6e4c98827 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 8cbe5463-c222-4b22-9c05-dbf6e4c98827
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=8cbe5463-c222-4b22-9c05-dbf6e4c98827 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 8cbe5463-c222-4b22-9c05-dbf6e4c98827
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 8cbe5463-c222-4b22-9c05-dbf6e4c98827
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
/dev/sda5 none swap sw 0 0

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


17.3GB: boot/grub/core.img
232.0GB: boot/grub/grub.cfg
262.5GB: boot/initrd.img-2.6.35-22-generic
.2GB: boot/vmlinuz-2.6.35-22-generic
262.5GB: initrd.img
.2GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda2

00000000 4a 05 89 e6 24 22 41 f7 c7 01 b1 f4 44 a8 58 15 |J...$"A.....D.X.|
00000010 91 14 d2 88 2d c9 22 1c f1 14 63 e9 05 44 24 c1 |....-."...c..D$.|
00000020 85 48 fb 33 90 05 08 c9 b1 0f e7 32 02 96 18 f6 |.H.3.......2....|
00000030 41 4d 4a ea 23 d8 54 d4 57 28 12 23 23 be d0 10 |AMJ.#.T.W(.##...|
00000040 e2 8c a6 24 43 89 fa 74 22 92 29 46 20 23 fb 86 |...$C..t".)F #..|
00000050 34 f5 49 09 fb f3 25 08 da 8b 2e 64 bf 08 b6 2a |4.I...%....d...*|
00000060 8e 0a 19 bf 92 88 10 a4 c2 1e 4e a1 22 ca d6 58 |..........N."..X|
00000070 84 46 35 15 01 3b 07 09 76 c5 c2 a8 44 2c 37 82 |.F5..;..v...D,7.|
00000080 24 d9 87 18 f4 d8 e4 28 27 58 96 06 02 31 a9 74 |$......('X...1.t|
00000090 a4 a0 51 24 1c 88 5a f9 8c 59 8f a7 25 45 d5 64 |..Q$..Z..Y..%E.d|
000000a0 02 49 07 89 42 42 c9 a6 1c 34 76 da cf 64 2a 86 |.I..BB...4v..d*.|
000000b0 d6 4e 21 3c 58 2c 20 5a b8 f9 49 70 64 24 c4 d3 |.N!<X, Z..Ipd$..|
000000c0 93 25 19 5e 58 9e 42 55 58 b0 02 1d 07 4b 20 20 |.%.^X.BUX....K |
000000d0 aa b0 ab 03 55 a0 b6 82 15 e8 ad 70 03 1d 5c e1 |....U......p..\.|
000000e0 02 0b 7d 96 6c a0 6a 55 b3 b4 a7 94 fa 2f 90 95 |..}.l.jU...../..|
000000f0 04 68 ab 52 47 40 80 f5 bc 0e 63 bd dd 81 1e e7 |.h.RG@....c.....|
00000100 1b 0f 9c c2 00 b6 83 5a 49 2a 09 66 29 48 1a e7 |.......ZI*.f)H..|
00000110 f8 0e ae d0 f2 ee 3d e2 8a c8 2e a9 05 22 e1 c3 |......=......"..|
00000120 e6 00 38 a2 63 c8 54 b0 3c 98 55 67 74 f2 cb 17 |..8.c.T.<.Ugt...|
00000130 91 db aa c3 24 d6 3a ee af e3 64 93 ee de 78 4a |....$.:...d...xJ|
00000140 73 c8 a8 11 f9 69 2b 45 3b 12 0e 3a 4d 2b 19 64 |s....i+E;..:M+.d|
00000150 e2 8c b8 45 4f 48 1b 39 50 15 14 49 66 d0 f3 2d |...EOH.9P..If..-|
00000160 d8 4d 0c d1 d6 d6 04 70 62 03 33 c8 c5 c7 1b cb |.M.....pb.3.....|
00000170 48 2c 26 6c 86 be 3d 31 ff cb 2f 11 0e c6 b8 59 |H,&l..=1../....Y|
00000180 62 f8 e4 1a 02 00 44 f3 10 d5 18 03 35 03 86 8f |b.....D.....5...|
00000190 ba 46 01 59 0f e8 f7 98 98 2b 78 f6 b5 07 26 01 |.F.Y.....+x...&.|
000001a0 07 ff 02 fd 06 03 0f d2 01 1d 80 b8 17 4c e4 f6 |.............L..|
000001b0 3d af 05 ab 81 2f fc df 2b 84 71 d6 16 e2 00 fe |=..../..+.q.....|
000001c0 ff ff 82 fe ff ff 02 00 00 00 00 f8 76 01 00 00 |............v...|
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==============

sdb

NCLI
December 2nd, 2010, 12:05 AM
Okay, unless GRUB has changed significantly (which is possible) or been skinned when I wasn't looking (it used to be a black screen with white text, and a white outlined box?) I didn't see it at all after I typed that in.

I restarted the computer, and it booted directly into ubuntu. At the bottom, it gave me the option to boot into "Ubuntu Desktop" "Ubuntu Netbook" and "User Defined" mode, and a few others... is that just the startup screen for ubuntu Netbook?

Is there a chance I'm completely missing something blatantly obvious?

What you see isn't GRUB2, it's just the Ubuntu login screen. If GRUB2 doesn't think there are other operating systems on your computer, it won't appear, but simply load Ubuntu quietly.

Have you tried running the command suggested above?

sudo update-grub

Hippytaff
December 2nd, 2010, 12:13 AM
I didn't see it at all after I typed that in.

Not sure, but I assumed the op tried update-grub :-)

NCLI
December 2nd, 2010, 12:17 AM
Not sure, but I assumed the op tried update-grub :-)
Oops, missed that :p

Leftside
December 2nd, 2010, 12:20 AM
Not sure, but I assumed the op tried update-grub :-)I have tried a few times now, yes.

To make sure I'm not screwing something up.

I open terminal. I type "sudo update-grub" (without the quotes) then I enter my password. It does its thing... I restart, and... back into ubuntu.

NCLI
December 2nd, 2010, 12:29 AM
I have tried a few times now, yes.

To make sure I'm not screwing something up.

I open terminal. I type "sudo update-grub" (without the quotes) then I enter my password. It does its thing... I restart, and... back into ubuntu.

Try this:

gksudo gedit /etc/default/grub
Look for the line:

GRUB_TIMEOUT=0
Change the 0 to 5, then save the file, run "sudo update-grub" again, then reboot.

Leftside
December 2nd, 2010, 12:37 AM
Try this:

gksudo gedit /etc/default/grubLook for the line:

GRUB_TIMEOUT=0Change the 0 to 5, then save the file, run "sudo update-grub" again, then reboot.I've got this going on right now.

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
I've already got GRUB_TIMEOUT=10...

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

I would play around in there, changing 0's to 1's and whatnot, but I think it's a bad idea to edit grub without any idea what I'm doing.

NCLI
December 2nd, 2010, 12:43 AM
I've got this going on right now.

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
I've already got GRUB_TIMEOUT=10...

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

I would play around in there, changing 0's to 1's and whatnot, but I think it's a bad idea to edit grub without any idea what I'm doing.
Yep, you definitely shouldn't.

Anyway, even with the 10 there, you never see GRUB2 (http://media.photobucket.com/image/grub2/Cocasoca/grub2.jpg) during boot??

Leftside
December 2nd, 2010, 12:49 AM
Yep, you definitely shouldn't.

Anyway, even with the 10 there, you never see GRUB2 (http://media.photobucket.com/image/grub2/Cocasoca/grub2.jpg) during boot??Nope, that doesn't show up.

NCLI
December 2nd, 2010, 12:57 AM
Nope, that doesn't show up.
It's beginning to sound like a bigger problem than I initially thought. :(

Is there a point during the boot when everything just stops?

Leftside
December 2nd, 2010, 01:05 AM
It's beginning to sound like a bigger problem than I initially thought. :(

Is there a point during the boot when everything just stops?http://www.youtube.com/watch?v=euTsFHVbYHQ

Video of the boot, start to finish.

NCLI
December 2nd, 2010, 01:08 AM
http://www.youtube.com/watch?v=euTsFHVbYHQ

Video of the boot, start to finish.
It shouldn't be necessary, but try holding down the shift key while booting.

nm_geo
December 2nd, 2010, 01:08 AM
I see no mention of windoz 7 or any other flavor in the original boot script. Were you ever able to boot into windoz after the install/installs?

drs305
December 2nd, 2010, 01:10 AM
If Grub2 thinks there is no other OS, it doesn't display the menu (even when you have the GRUB_TIMEOUT value set). The developers correctly or incorrectly thought that the average user who had only one OS didn't want to be bothered with seeing a menu.

There is a workaround though. Open /etc/default/grub, and place a comment symbol (#) at the start of the GRUB__HIDDEN_TIMEOUT line. Update grub.


gksu gedit /etc/default/grub



GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10

Save the file and reboot.

sudo update-grub

RESULTS.txt doesn't even find a bootloader, so if you are able to boot to your Ubuntu install (without a LiveCD/USB, etc):

sudo grub-install /dev/sda
sudo update-grub

Leftside
December 2nd, 2010, 01:16 AM
I think I have divined what has happened.

It erased the entire hard drive, I thought I instructed it to only use 1/2 of one partition.

nm_geo
December 2nd, 2010, 01:17 AM
The boot script sure makes it looks that way..

NCLI
December 2nd, 2010, 01:17 AM
If Grub2 thinks there is no other OS, it doesn't display the menu (even when you have the GRUB_TIMEOUT value set). The developers correctly or incorrectly thought that the average user who had only one OS didn't want to be bothered with seeing a menu.

There is a workaround though. Open /etc/default/grub, and place a comment symbol (#) at the start of the GRUB__HIDDEN_TIMEOUT line. Update grub.


gksu gedit /etc/default/grub


Save the file and reboot.

sudo update-grub

RESULTS.txt doesn't even find a bootloader, so if you are able to boot to your Ubuntu install (without a LiveCD/USB, etc):

sudo grub-install /dev/sda
sudo update-grub
Didn't know that, thanks a lot for the info.

nm_geo
December 2nd, 2010, 01:21 AM
I think I have divined what has happened.

It erased the entire hard drive, I thought I instructed it to only use 1/2 of one partition.

Hopefully you did not have too much data and maybe someone has an idea about possible recovery for your windoz7. Maybe.. don't give up just yet.

NCLI
December 2nd, 2010, 01:29 AM
I think I have divined what has happened.

It erased the entire hard drive, I thought I instructed it to only use 1/2 of one partition.

That would certainly explain everything. If you want support recovering your data, I'd suggest posting a new thread.

anewguy
December 2nd, 2010, 02:28 AM
Indeed, just looking at the output from the script HippyTaff had you run you can see the partitions on the drive - and there is no Windows partition. As already explained earlier, when grub doesn't see another OS, only ubuntu (Gnome, KDE, Netbook, etc.) it will just go straight to the login menu.

You have lost your Windows partition. In addition, if you look at the output from that script, Ubuntu used your entire hard disk. Since the non-swap partition would be formatted in an install, the chances are slim on getting anything back from Windows, as the partition is gone and the area has been formatted and partially written over by Ubuntu.

Dave

Leftside
December 2nd, 2010, 02:41 AM
Indeed, just looking at the output from the script HippyTaff had you run you can see the partitions on the drive - and there is no Windows partition. As already explained earlier, when grub doesn't see another OS, only ubuntu (Gnome, KDE, Netbook, etc.) it will just go straight to the login menu.

You have lost your Windows partition. In addition, if you look at the output from that script, Ubuntu used your entire hard disk. Since the non-swap partition would be formatted in an install, the chances are slim on getting anything back from Windows, as the partition is gone and the area has been formatted and partially written over by Ubuntu.

DaveI'm just going to have to get my hands on a clean install of windows7, I've got the CD key. Then I'll have to reinstall the drivers (again) for this touchsmart, which is a royal pain. Oh well, at least I already have them all burned to a CD (because the USB, ethernet and Wifi don't work with fresh installs, of course... OTOH they did with Ubuntu).

I'm not going to try to get any info back from the Win7 partition, it's not the end of the world for me.

Thanks for the help guys.

anewguy
December 2nd, 2010, 03:29 AM
Well, at least you are okay with having lost Windows. Sometimes we get users who get downright mad and want to know why we aren't telling them how to get their stuff back!

Sorry you lost what you did, and best of luck! Remember: if you install Windows AFTER ubuntu is installed there are some things you'll need to do to get the boot menu back - chances are it will just boot straight to Windows. There are several threads on the forum about this, but if you need help or more info, just post back when you get to that point.

Dave ;)

Leftside
December 3rd, 2010, 05:15 PM
Well, at least you are okay with having lost Windows. Sometimes we get users who get downright mad and want to know why we aren't telling them how to get their stuff back!

Sorry you lost what you did, and best of luck! Remember: if you install Windows AFTER ubuntu is installed there are some things you'll need to do to get the boot menu back - chances are it will just boot straight to Windows. There are several threads on the forum about this, but if you need help or more info, just post back when you get to that point.

Dave ;)Okay, so i haven't installed windows yet, but I will be tonight (Im honestly not sure whether i need a 64 or 32 copy, but ill find out when i get back to it tonight).

What steps are you saying I should take? I was just going to install windows over the entire thing, then reinstall Ubuntu Mobile (although the net book UI has some... Quarks, I can load into the GNOME I'm used to) on half the drive.

Then, I'm going to have to trawl the forums for making the buttons work on screen face (like screen rotate, and maybe mapping one of them to settings & escape) and downloading drivers from HPs site for the windows partition.


The hardest part will be downloading the drivers in Ubuntu, burning them to CD, rebooting into windows and installing until I get to the network driver -- how ridiculous is that?

anewguy
December 5th, 2010, 10:27 AM
That would work great, and is the simplest and easiest way to get it all done as long as you don't mind losing your current installation. I was just looking to save it, but it seems you don't mind losing it, so go for it as you have mentioned and you should be fine.

good luck!

Dave ;)