PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 25, 2012, 05:10:11 AM


Login with username, password and session length


Pages: [1] 2 3   Go Down
  Print  
Author Topic: [SOLVED] - Please Help! Grub Issue!  (Read 652 times)
Fallen_
Jr. Member
**
Offline Offline

Posts: 14


« on: January 27, 2012, 08:25:11 AM »

Ok, this is my fist post, so sorry if it's in the wrong spot.

So, I have a problem with my computer. Recently, I accidentally mounted a partition to /boot and it deleted the GRUB files. I don't know why I mounted it there, don't ask, I wasn't paying attention...

Anyways, I unmounted the partition. Then shut my computer for the night. When I booted it up, it took me to a weird GRUB command shell. It said something like "Minimalist GRUB with Linux like line editing" or something it's command line was:
GRUB>
I've never seen in in my 3 or 4 years using Linux, it might be common.  I don't know.

Well, this was my main computer for home and school. Without it I can't get online or do homework for school. I don't NEED grub if there's a way to boot t via command line, that's fine too.

If you need it, It was dual-boot with Windows Vista/PCLinuxOS KDE (?) or whatever the newest one is called.
 
Also, I had an idea that was a failure. Basically, I noticed I had another copy of a Linux Distro, and an empty partition. And I knew most Linux Distros come with grub built in. It didn't work installing it. It stopped like 1/10 of the way, and froze. The partition was 20gb more than enough.

Please help if you can. I REALLY need this computer functioning as soon as possible!!

I also don't have any backup disks (stupid of me) except the Windows one that came with my computer,  and a copy of PCLinuxOS. I don't want to use those until I know it's impossible to fix it otherwise.

Thanks.
Logged
Ramchu
Hero Member
*****
Offline Offline

Posts: 1424



« Reply #1 on: January 27, 2012, 08:31:29 AM »

http://www.pclinuxos.com/forum/index.php/topic,88284.0.html
Logged

Fallen_
Jr. Member
**
Offline Offline

Posts: 14


« Reply #2 on: January 27, 2012, 08:56:39 AM »



I checked that out. it wont work for me, since my whole /boot file is gone.
Logged
Ramchu
Hero Member
*****
Offline Offline

Posts: 1424



« Reply #3 on: January 27, 2012, 09:06:14 AM »

It is my understanding that :
Boot from your PCLinux Live CD
PC>More Applications>Configuration>Redo MBR

That will fix Grub
 
Logged

AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4111

Have a nice ... night!


« Reply #4 on: January 27, 2012, 09:35:20 AM »

So, I have a problem with my computer. Recently, I accidentally mounted a partition to /boot and it deleted the GRUB files. I don't know why I mounted it there, don't ask, I wasn't paying attention...


When you mount a partition to a non empty directory, like was /boot, the content of the directory will be hidden because of the mounted filesystem, it's content however however will not be deleted.

May be you can add some detail about what you really have done ?
Logged
Neal ManBear
Administrator
Super Villain
*****
Online Online

Posts: 15188


LXDE! Coffee, Bacon and Cheesecake!


« Reply #5 on: January 27, 2012, 10:35:35 AM »

Stop shouting! You can get help without shouting.     
This is shouting:     
URGENT!!! PLEASE HELP!! GRUB ISSUE     

Change it to lower case letters. The first letter of each word can be upper case, but all others must be lower case.     
Logged

Fallen_
Jr. Member
**
Offline Offline

Posts: 14


« Reply #6 on: January 27, 2012, 11:20:52 AM »

Stop shouting! You can get help without shouting.    
This is shouting:    
URGENT!!! PLEASE HELP!! GRUB ISSUE    

Change it to lower case letters. The first letter of each word can be upper case, but all others must be lower case.    
Sorry, I'm not able to access 500gb of files, and a project that is due today. I'm a little mad...
So, I have a problem with my computer. Recently, I accidentally mounted a partition to /boot and it deleted the GRUB files. I don't know why I mounted it there, don't ask, I wasn't paying attention...


When you mount a partition to a non empty directory, like was /boot, the content of the directory will be hidden because of the mounted filesystem, it's content however however will not be deleted.

May be you can add some detail about what you really have done ?




Ok so basically I wanted to add a security tool based Linux to my HD. It's called STD Linux. (so ironic) anyway i made a new partition 'sda6'. instead of mounting it on / I clicked /boot by accident. I didn't notice till I shut down and rebooted. Now when I boot up, it goes directly to a GRUB command shell, and no OS is booted up. I hope his explains it.
Logged
demilord
Full Member
***
Offline Offline

Posts: 224


Windows not supported


« Reply #7 on: January 27, 2012, 11:57:17 AM »

Boot from live CD and use the partition Boot tool in the pclinuxos control center.. That is the easiest way..
PCLinux Control center is very powerful and helpful Smiley
Logged

Office required Windows XP or better, so I installed PCLinuxOS Cheesy
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4111

Have a nice ... night!


« Reply #8 on: January 27, 2012, 12:23:38 PM »

Ok so basically I wanted to add a security tool based Linux to my HD. It's called STD Linux. (so ironic) anyway i made a new partition 'sda6'. instead of mounting it on / I clicked /boot by accident. I didn't notice till I shut down and rebooted. Now when I boot up, it goes directly to a GRUB command shell, and no OS is booted up. I hope his explains it.

please, start your LiveCD, open a terminal, type su, provide the root password, and then type the following commands:

fdisk -l      (that is FDISK -L but lowercase)

report back the output, so we can provide you with further instructions.
Logged
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #9 on: January 27, 2012, 12:39:06 PM »

Ok so basically I wanted to add a security tool based Linux to my HD. It's called STD Linux. (so ironic) anyway i made a new partition 'sda6'. instead of mounting it on / I clicked /boot by accident. I didn't notice till I shut down and rebooted. Now when I boot up, it goes directly to a GRUB command shell, and no OS is booted up. I hope his explains it.

So what has this to do with PCLinuxOS? It's a different distro, and you screwed up your installation. Do you still have PCLinuxOS installed on your computer? If so, where? (which partition) Is the data you are trying to recover on the PCLinuxOS installation, or on WinVista?

If you actually still have a full PCLinuxOS installation, and know which partition it is installed on, reinstalling its grub to the MBR is relatively simple, and can be done from the grub prompt with three commands. The easiest way is from the liveCD environment, logged in as root.

First do as AS suggested, so we can see the partitions present.
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
Fallen_
Jr. Member
**
Offline Offline

Posts: 14


« Reply #10 on: January 27, 2012, 04:34:47 PM »

my partitions are:
sda1 == win recov
sda2 == winVista
sda3 == Backups
-sda4 not in use
-sda5 not in use
sda6 == PClinuxOS
sda7 == unformated partition.
Logged
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #11 on: January 27, 2012, 04:50:38 PM »

my partitions are:
sda1 == win recov
sda2 == winVista
sda3 == Backups
-sda4 not in use
-sda5 not in use
sda6 == PClinuxOS
sda7 == unformated partition.

You previously said you created /dev/sda6 to install STD Linux on it. Now you say that is where PCLinuxOS resides. Which is it?

If you can't relay correct information, in a proper manner, how is it that you propose we help you?  Huh

You haven't posted the results of the fdisk -l command, as you were asked to. Please do so now.
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
Fallen_
Jr. Member
**
Offline Offline

Posts: 14


« Reply #12 on: January 27, 2012, 04:56:16 PM »

my partitions are:
sda1 == win recov
sda2 == winVista
sda3 == Backups
-sda4 not in use
-sda5 not in use
sda6 == PClinuxOS
sda7 == unformated partition.

You previously said you created /dev/sda6 to install STD Linux on it. Now you say that is where PCLinuxOS resides. Which is it?

If you can't relay correct information, in a proper manner, how is it that you propose we help you?  Huh

You haven't posted the results of the fdisk -l command, as you were asked to. Please do so now.

o sorry. i ment to post "i think my partitions are". ill go run to my other computer and do that now. thx for your help.
Logged
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5695


I don't do Windows


« Reply #13 on: January 27, 2012, 05:33:00 PM »

o sorry. i ment to post "i think my partitions are". ill go run to my other computer and do that now. thx for your help.

You haven't posted the results of the fdisk -l command, as you were asked to. Please do so now.

Post the results of fdisk -l if you want to resolve this issue. Otherwise, it's just wasting time.
Logged

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378
Fallen_
Jr. Member
**
Offline Offline

Posts: 14


« Reply #14 on: January 27, 2012, 05:51:52 PM »

o sorry. i ment to post "i think my partitions are". ill go run to my other computer and do that now. thx for your help.

You haven't posted the results of the fdisk -l command, as you were asked to. Please do so now.

Post the results of fdisk -l if you want to resolve this issue. Otherwise, it's just wasting time.

ok, my computer wont let me boot the PClinuxOS live CD (the new one) but i can get PClinuxOS 2007 to boot, and when i typed in fdisk -l, it said "command not found".
Logged
Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM