LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-19-2012, 02:56 PM   #16
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,299

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388

[QUOTE=chovy;4831773]Where do you see that it is installed to /dev/sda1 instead of MBR on /dev/sda?[COLOR="Silver"]
Taking another look I am asking myself the same question. Please ignore the grumpy geezer. May be senility setting in.
 
Old 11-24-2012, 05:07 PM   #17
chovy
Member
 
Registered: Dec 2004
Location: Capitola, CA
Distribution: Debian
Posts: 51

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by RockDoctor View Post
Something like this:
Code:
~$ sudo fdisk /dev/sda
[sudo] password for a: 

Command (m for help): t
Partition number (1-12): 1
Hex code (type L to list codes): 83
Changed system type of partition 1 to 83 (Linux)

Command (m for help):  w
Ok, this appeared to wipe out my harddrive, how do I change it back?

How to I get back into live-cd where I can see my mounted harddrive again?

Last edited by chovy; 11-24-2012 at 05:14 PM.
 
Old 11-24-2012, 05:21 PM   #18
chovy
Member
 
Registered: Dec 2004
Location: Capitola, CA
Distribution: Debian
Posts: 51

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by RockDoctor View Post
If you've retried running grub-install /dev/sda from the live CD without success, you might want to try the following:
1. Boot off the live CD
2. chroot to your Debian partition
3. run grub-install /dev/sda
How do I do this? I'm a complete newb, which menu item in 1) and also how do I chroot in 2).
 
Old 12-01-2012, 01:58 PM   #19
fatmac
Member
 
Registered: Sep 2011
Location: Surrey/Hants Border, UK
Distribution: AntiX, TinyCore, (& SliTaz)
Posts: 352

Rep: Reputation: Disabled
I've been fighting grub2 all afternoon on another problem, but if you change the 'root=' to root=/dev/sda1, I think you will get grub to boot, it worked for me.

(Also I see your /etc/fstab is using UUID's, I'd change them to /dev/sda1 as well.)
 
Old 12-01-2012, 02:00 PM   #20
chovy
Member
 
Registered: Dec 2004
Location: Capitola, CA
Distribution: Debian
Posts: 51

Original Poster
Rep: Reputation: 15
I gave up ***WARNING*** the above advice wiped out my harddrive.
 
Old 12-03-2012, 10:28 AM   #21
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,048

Rep: Reputation: 559Reputation: 559Reputation: 559Reputation: 559Reputation: 559Reputation: 559
I keep a debian installation on usb just for this kind of problem.
For grub related issues I just boot into usb run update-grub & reboot to main os & if successful run update-grub from main os.
 
  


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
Cant boot after power failure landysaccount Linux - Newbie 3 01-07-2010 07:40 AM
No GUI after power failure at boot. Imajica666 Linux - Desktop 5 06-07-2008 01:40 PM
need help.. power failure now no boot vbtalent Fedora 2 11-02-2005 07:51 PM
Power Failure, cause bootup to grub Johnny Hutto Linux - Newbie 9 08-23-2003 09:29 AM
boot problem after power failure radulucian Linux - Newbie 1 06-30-2003 05:53 AM


All times are GMT -5. The time now is 01:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration