PDA

View Full Version : [ubuntu] 8.04 only boots HD via CD



bunter2000
June 27th, 2008, 12:06 PM
Hi all,

I am a total newbie to linux, I tried 12 months ago using PCLinuxOS but was unable to use my windows partitions. So when I bought this months APC (Oz magazine) and it had an article and live cd on Ubuntu 8.04.

I tried and I liked it and now I am stuck, the last command line work I have done is in the days of DOS 6.22, so please provide comprehensive details on how to get info required.

PROBLEM:

I have looked through and can not find a scenario so far on these forums that have put a positive light on the subject. Ubuntu installs and upgrades perfectly and I am happy. Other people have shown me their installations and would have prefered KDE rather than Gnome - but thats only minor.

I tried Kubuntu and liked it but it had a stupid proble about "smart" updater and when I tried to upgrade it with the SMART it said I needed SMART Updater - NOT so smart me thinks?????

Anyway searching through the forums, I have tried a number of suggestions on dual boot with Vista and all I get is error 22 and other errors, I even tried to install on a clean drive and used all its space for linux, I have tried to have the installer place grub on the windows boot, or on the same drive as the new installation, I have tried Neogrub.

ABOUT MY SYSTEM

Pentium Dual 3000, 2 Gig RAM and 2 x SATA drives (non-raid) and one IDE Drive, the system boots on Sata 1 and I have dedicated a 160Gb to linux on Sata 2, Sata 1 holds partitions containing Data, XP and one for the worlds largest virus -- VISTA. My XP is now corrupt and will be wiped as soon as I get linux working. I only need Vista for movie editing and desk top publishing - are there any replacements for these available on linux??

From what I have figured the linux partition is "root (2,0) or sbc: here is part of the menu.lst file

************************************************** ***********

title Ubuntu 8.04, kernel 2.6.24-19-generic
root (hd2,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=9e478ae9-1932-4e6b-bb2a-228cb1829406 ro
quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-19-generic (recovery mode)
root (hd2,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=9e478ae9-1932-4e6b-bb2a-228cb1829406 ro
single
initrd /boot/initrd.img-2.6.24-19-generic
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd2,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=9e478ae9-1932-4e6b-bb2a-228cb1829406 ro
quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd2,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=9e478ae9-1932-4e6b-bb2a-228cb1829406 ro
single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04, memtest86+
root (hd2,0)
kernel /boot/memtest86+.bin
quiet

************************************************** ******

I cant help thinking that it is still Vista, because manglesoft in their wisdom decided to rearrange the partition structure when Vista boot and call it C Drive irrespective of the actual install partition. Probably manglesofts way to stuff people up trying to improve their systems, afterall we dont actually own our own computers as they are actuall on loan to us from manglesoft - Good bye Bill Gates.

Herman
June 27th, 2008, 12:55 PM
:) Hello bunter2000,
I'm sorry, but I still have no idea what you are trying to tell us or what it is you are trying to find out even after reading your post several times.
I'd like to help you, but I'm very confused by the way you have worded your question. :confused:

Can you have another try at describing your problem? (Just one problem at a time will do).

If you could post the output from 'sudo fdisk -lu' here for a start, that's often useful for solving problems, especially if you're asking about a booting problem,

sudo fdisk -luHere's my info on GRUB Error 22 if that's any help, GRUB Error 22 (http://users.bigpond.net.au/hermanzone/p15.htm#22).

Regards, Herman :)

bunter2000
June 27th, 2008, 03:13 PM
Herman

My problem is I cant boot to linux unless I leave the cd in drive and when the cd menu comes up I select boot from hard drive.

Since then I decided to reverse the SATA connector around and now I can boot to linux but have lost the ability to load vista. Funny thing is it did boot to either linux or vista, and has now stopped and saying "no such device"????? To load vista I have to go into the bios and change the boot order which then results in the loss of ubuntu boot.

I did want to boot from vista but I will be changing over to linux in the long term - so I am happy to boot through grub.

I have another question... Grub looks so lame is there away to change it to a graphical menu that looks a little more modern that a DOS box screen menu. Linux seeems to be so advanced but loading is so 80's


********************************** sudo fdisk -lu info **************************

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xd6645a8e

Device Boot Start End Blocks Id System
/dev/sda1 * 63 300431564 150215751 83 Linux
/dev/sda2 300431565 312576704 6072570 5 Extended
/dev/sda5 300431628 312576704 6072538+ 82 Linux swap / Solaris

Disk /dev/sdb: 250.0 GB, 250059350016 bytesDisk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xd6645a8e

Device Boot Start End Blocks Id System
/dev/sda1 * 63 300431564 150215751 83 Linux
/dev/sda2 300431565 312576704 6072570 5 Extended
/dev/sda5 300431628 312576704 6072538+ 82 Linux swap / Solaris

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xdc29e8b4

Device Boot Start End Blocks Id System
/dev/sdb1 * 63 6152894 3076416 b W95 FAT32
/dev/sdb2 6152895 88084394 40965750 f W95 Ext'd (LBA)
/dev/sdb3 88084480 283594751 97755136 7 HPFS/NTFS
/dev/sdb4 283595445 488392064 102398310 7 HPFS/NTFS
/dev/sdb5 6152958 88084394 40965718+ 7 HPFS/NTFS

Disk /dev/sdc: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xc36ebd23

Device Boot Start End Blocks Id System
/dev/sdc1 * 16065 260959859 130471897+ f W95 Ext'd (LBA)
/dev/sdc2 260959860 625137344 182088742+ 7 HPFS/NTFS
/dev/sdc5 16128 260959859 130471866 7 HPFS/NTFS

Disk /dev/sdf: 1007 MB, 1007157248 bytes
24 heads, 55 sectors/track, 1490 cylinders, total 1967104 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdf1 * 227 1967103 983438+ 7 HPFS/NTFS

255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xdc29e8b4

Device Boot Start End Blocks Id System
/dev/sdb1 * 63 6152894 3076416 b W95 FAT32
/dev/sdb2 6152895 88084394 40965750 f W95 Ext'd (LBA)
/dev/sdb3 88084480 283594751 97755136 7 HPFS/NTFS
/dev/sdb4 283595445 488392064 102398310 7 HPFS/NTFS
/dev/sdb5 6152958 88084394 40965718+ 7 HPFS/NTFS

Disk /dev/sdc: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xc36ebd23

Device Boot Start End Blocks Id System
/dev/sdc1 * 16065 260959859 130471897+ f W95 Ext'd (LBA)
/dev/sdc2 260959860 625137344 182088742+ 7 HPFS/NTFS
/dev/sdc5 16128 260959859 130471866 7 HPFS/NTFS

Disk /dev/sdf: 1007 MB, 1007157248 bytes
24 heads, 55 sectors/track, 1490 cylinders, total 1967104 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdf1 * 227 1967103 983438+ 7 HPFS/NTFS

Herman
June 27th, 2008, 11:50 PM
:) Does this look like a reasonable interpretation of your fdisk output?

Disk /dev/sdb: 250.0 GB, 250059350016 bytes________________________________________Sata 1 holds partitions containing Data, XP, and Vista.
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xdc29e8b4

Device_________Boot__________Start__________End___ _______Blocks__________Id__________System
/dev/sdb1__________*_____________63_____6152894________ 3076416_______ bW95__________FAT32_____Recovery?
/dev/sdb2__________________6152895____88084394_______40 965750______ fW95__________Ext'd (LBA)
/dev/sdb5__________________6152958____88084394_______40 965718+_________7_________HPFS/NTFS____VISTA_?
/dev/sdb3_________________88084480___283594751_______97 755136__________7__________HPFS/NTFS_____data_?
/dev/sdb4________________283595445___488392064______102 398310__________7__________HPFS/NTFS____WindowsXP_?


Disk /dev/sda: 160.0 GB, 160041885696 bytes_________________________________________Sata 2_I have dedicated a 160Gb to linux on Sata 2
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xd6645a8e

Device__________Boot__________Start__________End__ ________Blocks__________Id__________System
/dev/sda1___________*_____________63___300431564______1 50215751__________83_________Linux__Ubuntu, root (hd2,0)
/dev/sda2________________300431565___312576704_________ 6072570___________5_________Extended
/dev/sda5________________300431628___312576704_________ 6072538+________82_________Linux swap / Solaris


Disk /dev/sdc: 320.0 GB, 320072933376 bytes________________________________________ IDE Drive
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xc36ebd23

Device__________Boot__________Start__________End__ ________Blocks__________Id__________System
/dev/sdc1___________*_________16065___260959859_____130 471897+_____f W95__________Ext'd (LBA)
/dev/sdc5_____________________16128___260959859_____130 471866___________7___________HPFS/NTFS
/dev/sdc2________________260959860___625137344______182 088742+_________7___________HPFS/NTFS

Disk /dev/sdf: 1007 MB, 1007157248 bytes_____________________________________________ Flash Memory Stick?
24 heads, 55 sectors/track, 1490 cylinders, total 1967104 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000000

Device__________Boot__________Start__________End__ ________Blocks__________Id__________System
/dev/sdf1___________*____________227_____1967103_______ _983438+__________7___________HPFS/NTFS






My problem is I cant boot to linux unless I leave the cd in drive and when the cd menu comes up I select boot from hard drive.
Since then I decided to reverse the SATA connector around and now I can boot to linux but have lost the ability to load vista. Funny thing is it did boot to either linux or vista, and has now stopped and saying "no such device"????? To load vista I have to go into the bios and change the boot order which then results in the loss of ubuntu boot.
I did want to boot from vista but I will be changing over to linux in the long term - so I am happy to boot through grub.:) Okay, so leave your BIOS set so that whichever hard disk which has GRUB installed to MBR will boot.
Now you probably only need to edit your Vista and XP booting stanzas in your /boot/grub/menu.lst file.
If you can boot into Ubuntu, you can open up a terminal and run 'gksudo gedit /boot/grub/menu.lst' and post the output here please.

gksudo gedit /boot/grub/menu.lstIf you have Kubuntu, I think it's 'kdesu kwrite /boot/grub/menu.lst', I'm not sure, I'll have to check on that.

EDIT:

My XP is now corrupt and will be wiped as soon as I get linux working. I only need Vista for movie editing and desk top publishing - are there any replacements for these available on linux??
Check out the home page of Ubuntu Studio, Ubuntu Studio (http://ubuntustudio.org/), it comes with PiTiVi, Kino, Cinepaint for movie editing.
For desktop publishing you can install Passepartout and/or scribus, here are some links for more info about those, passepartout (http://www.stacken.kth.se/project/pptout/), scribus (http://en.wikipedia.org/wiki/Scribus) (Wikipedia), scribus (http://www.scribus.net/).
If you decide to install software in Ubuntu and if you're new, the best and easiest ways are by installing it through 'Applications'-->'Add/Remove', or else 'System'-->'Administration'-->'Synaptic Package Manager', or use apt-get commands from the terminal. It's best to avoid downloading files from the internet and installing them, that's the hard way of doing it and may break your system. Sometimes it's okay. You have to be careful. Synaptic or add/remove are safe.