Booting problem.

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Booting problem.

Postby Shakkra on Fri Aug 22, 2008 8:23 am

Now, after reainstalling mint 5 (used to have mint with kde) and now I have gnome, somehow it wont boot without the live cd (actually it is a memory stick [usb]). So I installled mint to my hard drive and as boot my pc without the live cd it wont let me, some how the interface where I choose how I want to boot doesnt even have color, so i can only boot from my live cd, and then i can take it off after everything loads. Is there a way to fix this?

Edit: I need my live cd to acces my hard drive.
Last edited by Shakkra on Fri Aug 22, 2008 9:50 pm, edited 2 times in total.
Hi, I come from a hacking forums called gamecheetah (gamecheetah.com).
Shakkra
Level 1
Level 1
 
Posts: 37
Joined: Thu Aug 21, 2008 10:04 am

Linux Mint is funded by ads and donations.
 

Re: Booting problem.

Postby Fornhamfred on Fri Aug 22, 2008 2:12 pm

This may have something to do with the boot sequence in the bios. Otherwise is there an error message given when Mint fails to boot?
Fornhamfred
Level 6
Level 6
 
Posts: 1134
Joined: Wed Oct 31, 2007 3:38 pm
Location: Suffolk UK

Re: Booting problem.

Postby Shakkra on Fri Aug 22, 2008 6:10 pm

Umm.. no there isnt a message. just says that it doesnt exist.
Hi, I come from a hacking forums called gamecheetah (gamecheetah.com).
Shakkra
Level 1
Level 1
 
Posts: 37
Joined: Thu Aug 21, 2008 10:04 am

Re: Booting problem.

Postby Fornhamfred on Sat Aug 23, 2008 3:16 am

Shakkra

I have seen another post of yours headed grub error 22. Is that your problem?

If so have a look at this post of mine and it may help. viewtopic.php?f=46&t=15647

Alternatively google the error as there are many suggestions, normally it just means that your menu.lst is looking in the wrong place for grub i.e on your USB stick and not in MBR.

If you do not solve the problem it would help if you post your menu.lst file here.
Fornhamfred
Level 6
Level 6
 
Posts: 1134
Joined: Wed Oct 31, 2007 3:38 pm
Location: Suffolk UK

Re: Booting problem.

Postby Shakkra on Sat Aug 23, 2008 8:31 am

i have fixed the grub problem but, its kind of weird, i had deleted everything on my hd, and then when i was tired with nothing to do, I booted from my hd instad of my usb flash or my cd, and somehow it booted nicely, well, if I try to boot from my hd it gives me this error that there isnt a sistem on it, so yah, now heres another funny thing, i was the one who messed the grub trying to fix the booting thingy from the hard drive.

yes, ill try what you told me. thx.

Edit: Sorry im new to linux and, I think I dont know where to get my menu file? ill google it, google is my best friend on most (90%) of the ocasions (hmmm.... that must mean I really got lots of problems)
Hi, I come from a hacking forums called gamecheetah (gamecheetah.com).
Shakkra
Level 1
Level 1
 
Posts: 37
Joined: Thu Aug 21, 2008 10:04 am

Re: Booting problem.

Postby Fornhamfred on Sat Aug 23, 2008 11:33 am

No problem.

Go to start/places/computer/file system/boot/grub then menu.lst . Double click file and you can then copy it.

Good Luck
Fornhamfred
Level 6
Level 6
 
Posts: 1134
Joined: Wed Oct 31, 2007 3:38 pm
Location: Suffolk UK

Re: Booting problem.

Postby Shakkra on Sat Aug 23, 2008 2:16 pm

it wont let me upload lst files somehow. ill make it zip, my board attachment quoate has been reeched trying to do this. ill rename it to zip once I upload it so you can just change the name to lsp.

thx

Edit: uploaded to mega upload http://www.megaupload.com/?d=BGSYWMJL
Hi, I come from a hacking forums called gamecheetah (gamecheetah.com).
Shakkra
Level 1
Level 1
 
Posts: 37
Joined: Thu Aug 21, 2008 10:04 am

Re: Booting problem.

Postby kansasnoob on Sat Aug 23, 2008 8:14 pm

Everyone look here:

viewtopic.php?f=90&t=16089

Now, in Ubuntu I learned how to do a 100% change in desktop environments, but this is Mint!

Look at "Playing Around" here:

http://www.psychocats.net/ubuntu/index.php

Of course that's for Ubuntu! Things you try there may and almost certainly WILL totally break Mint!

It could be argued that Ubuntu is more flexible but I can guarantee you that Mint is the best I've tried so far if you're looking for "out-of-box" performance! (Simply MEPIS is my next project)

What I find irritating is that you're using the forum in a manner that would indicate problems with Mint, when in fact, the problem is you keep changing what you want and how you want it!

Then again, I'm a grouchy old man!
kansasnoob
Level 4
Level 4
 
Posts: 294
Joined: Sun Jul 20, 2008 1:45 pm

Re: Booting problem.

Postby Shakkra on Sun Aug 24, 2008 10:25 am

yes, I agree that I have been a pain for the last 3-4 days ill say, well... I didnt know what to do.
Hi, I come from a hacking forums called gamecheetah (gamecheetah.com).
Shakkra
Level 1
Level 1
 
Posts: 37
Joined: Thu Aug 21, 2008 10:04 am

Re: Booting problem.

Postby Fornhamfred on Sun Aug 24, 2008 12:31 pm

Shakkra

For future reference it is not necessary to upload any files, all you need to do is open the file , copy the required content and then paste it into your posting. Obviously if it were a large file it is easier to upload but for menu.lst or fstab pasting is fine.
Fornhamfred
Level 6
Level 6
 
Posts: 1134
Joined: Wed Oct 31, 2007 3:38 pm
Location: Suffolk UK

Re: Booting problem.

Postby Shakkra on Sun Aug 24, 2008 12:48 pm

Ohh.. sorry I didnt know, so what do I do now?
Hi, I come from a hacking forums called gamecheetah (gamecheetah.com).
Shakkra
Level 1
Level 1
 
Posts: 37
Joined: Thu Aug 21, 2008 10:04 am

Re: Booting problem.

Postby Fornhamfred on Sun Aug 24, 2008 12:54 pm

Don't worry we all start from the same place.

Are you still having the boot problem or is fixed?
Fornhamfred
Level 6
Level 6
 
Posts: 1134
Joined: Wed Oct 31, 2007 3:38 pm
Location: Suffolk UK

Re: Booting problem.

Postby Shakkra on Sun Aug 24, 2008 2:53 pm

still have it, havent been able to do anything since O have no idea on what to do, I only been posting on another forums, (I got 200 posts since last night)

So does this mean im doomed?
Hi, I come from a hacking forums called gamecheetah (gamecheetah.com).
Shakkra
Level 1
Level 1
 
Posts: 37
Joined: Thu Aug 21, 2008 10:04 am

Re: Booting problem.

Postby Shakkra on Tue Aug 26, 2008 10:15 pm

here it is:

# 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 change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0

gfxmenu=/etc/grub/message.elyssa

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 5

# 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=/dev/sdb1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,0)

## 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 mode) 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

## 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 Linux Mint, kernel 2.6.24-16-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=/dev/sdb1 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic

title Linux Mint, kernel 2.6.24-16-generic (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=/dev/sdb1 ro single
initrd /boot/initrd.img-2.6.24-16-generic

title Linux Mint, kernel memtest86+
root (hd1,0)
kernel /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST
Hi, I come from a hacking forums called gamecheetah (gamecheetah.com).
Shakkra
Level 1
Level 1
 
Posts: 37
Joined: Thu Aug 21, 2008 10:04 am

Re: Booting problem.

Postby kansasnoob on Wed Aug 27, 2008 12:52 am

Please post the output of:

Code: Select all
sudo fdisk -l


That will tell me what your disc set-up is.

Like this is mine:

lance@lance-desktop ~ $ sudo fdisk -l
[sudo] password for lance:

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x63056305

Device Boot Start End Blocks Id System
/dev/sda1 * 1 3824 30716248+ 7 HPFS/NTFS
/dev/sda2 3825 9729 47431912+ 5 Extended
/dev/sda5 3825 6934 24981043+ 83 Linux
/dev/sda6 6935 7175 1935801 82 Linux swap / Solaris
/dev/sda7 7176 9729 20514973+ 83 Linux
kansasnoob
Level 4
Level 4
 
Posts: 294
Joined: Sun Jul 20, 2008 1:45 pm

Re: Booting problem.

Postby kansasnoob on Wed Aug 27, 2008 1:04 am

BTW, what I think is going on is that since you're using a USB drive to install, the USB drive is recognized as hd(0,0) so GRUB is installing to the USB drive instead of the hard drive.

So, is this a situation where you can only boot with the USB drive plugged in?

The more info we have the better!
kansasnoob
Level 4
Level 4
 
Posts: 294
Joined: Sun Jul 20, 2008 1:45 pm

Re: Booting problem.

Postby Shakkra on Wed Aug 27, 2008 7:43 am

Kansasnoob: No it isnt, I just reinstalled it with my cd and I still get the problem ; )=
ok, here


daniel@Daniel ~ $ sudo fdisk -l
[sudo] password for daniel:

Disk /dev/sdb: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x41d741d7

Device Boot Start End Blocks Id System
/dev/sdb1 1 4676 37559938+ 83 Linux
/dev/sdb2 4677 4864 1510110 5 Extended
/dev/sdb5 4677 4864 1510078+ 82 Linux swap / Solaris
Hi, I come from a hacking forums called gamecheetah (gamecheetah.com).
Shakkra
Level 1
Level 1
 
Posts: 37
Joined: Thu Aug 21, 2008 10:04 am

Re: Booting problem.

Postby kansasnoob on Wed Aug 27, 2008 12:35 pm

In your original post you say, "after reainstalling mint 5 (used to have mint with kde) and now I have gnome, somehow it wont boot without the live cd (actually it is a memory stick [usb])."

So can I still assume that every time you say "live CD" you actually mean "memory stick"?

So when you boot from the live CD (actually memory stick) do you get the option to either boot the hard drive or to boot into the "live CD environment"?

A bit of explanation here. Since you installed Mint with a usb stick rather than an actual live CD the installer did recognize the usb stick as a drive. I know this because your fdisk -l shows:

/dev/sdb1 1 4676 37559938+ 83 Linux
/dev/sdb2 4677 4864 1510110 5 Extended
/dev/sdb5 4677 4864 1510078+ 82 Linux swap / Solaris


sdb indicates drive #2. sda would be drive #1, sdc = drive #3, etc.
sdb1 indicates drive #2 partition #1.

Now while we're talking numbers you should also know that Grub begins it's numbering sequence with 0 (zero), so Grub sees sdb1 as hd (1,0). You see the b drive becomes the 1 in hd (1,0) and partition 1 becomes the 0 in hd (1,0).

Now the lines that would concern me with Grub in your menu list look OK, but my best guess is that Grub stage 1 is only recognized on hd (0) which is your memory stick/live CD.

Now what you need to do from the live CD environment (Try Ubuntu without any change to your computer) - THIS WILL NOT WORK JUST BOOTED INTO YOUR OS - is to install Grub to drive#2, aka sdb, aka hd (1).

Open a Terminal session and type in

Code: Select all
sudo grub


and press Enter. Then run the following commands in sequence:

Code: Select all
root (hd1,0)


Code: Select all
setup (hd1)


Code: Select all
quit


Code: Select all
exit


Of course here we would normally reboot and remove the live CD when prompted to, I'm not absolutely sure at what point you'd want to remove your "live mem stick" :?:

Of course if you can't boot into the live CD environment (Try Ubuntu without any change to your computer), then we'll have to look into other options such as Super Grub Disk:

http://users.bigpond.net.au/hermanzone/ ... kPage.html
kansasnoob
Level 4
Level 4
 
Posts: 294
Joined: Sun Jul 20, 2008 1:45 pm

Re: Booting problem.

Postby Shakkra on Fri Aug 29, 2008 12:09 pm

Somehow I cant use the live version while LinuxMint is installed. Gets me to the Initframs thingy Busy box something like that. hmmmm.... is my laptop messed up?
Hi, I come from a hacking forums called gamecheetah (gamecheetah.com).
Shakkra
Level 1
Level 1
 
Posts: 37
Joined: Thu Aug 21, 2008 10:04 am

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 14 guests