LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 04-26-2015, 04:38 PM   #1
mrknify
LQ Newbie
 
Registered: Aug 2014
Location: canada
Distribution: arch, mint, ultimate, Ubuntu, dsl, tiny core, Slackware.
Posts: 7
Blog Entries: 1

Rep: Reputation: Disabled
bad grub from old install persistent.


New slackware install, had grub from old ubuntu install left on it.

I installed slackware 14.1 via sd card.
I used lilo expert chose my linux and windows partitions...

On reboot, grub as it is still in mbr loaded into grub recovery>

I do not have access to my windows partition anymore. I can boot from the sd card but I get errors from trying to run lilo or liloconf.

How through the install card can I clean grub to use lilo?

My netbook is a lg x110.

Cheers
 
Old 04-26-2015, 05:55 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,539

Rep: Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496
You forgot to post the error(s) you got when you tried to install Lilo. You should have an option in the install to put Lilo on the mbr.
 
Old 04-26-2015, 05:57 PM   #3
mrknify
LQ Newbie
 
Registered: Aug 2014
Location: canada
Distribution: arch, mint, ultimate, Ubuntu, dsl, tiny core, Slackware.
Posts: 7

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Solution... this does not remove grub but fixes it from the sd install card.

The downside is I can not see my windows install.

mount /dev/sda# /mnt
--use the installed os drive here in sda#-
Chroot /mnt
Grub-install /dev/sda#
Grub-mkconfig -o /root/grub/grub.cfg

Make sure you have made a user and password.
After you reset and login, run "su grub-config -o /root/grub/grub.cfg
This will find your windows partition.

Last edited by mrknify; 04-26-2015 at 06:18 PM. Reason: additional info
 
Old 04-26-2015, 06:00 PM   #4
mrknify
LQ Newbie
 
Registered: Aug 2014
Location: canada
Distribution: arch, mint, ultimate, Ubuntu, dsl, tiny core, Slackware.
Posts: 7

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
You forgot to post the error(s) you got when you tried to install Lilo. You should have an option in the install to put Lilo on the mbr.
There were no errors. The problem was grub still in the mbr (master boot record) trying to run without a grub.conf to point it in the right direction.

I was unable to remove grub via the slack install sd card, but I was able to re-install grub for slack.

Funny part is I forgot to make myself a user account.

Cheers.
 
Old 04-26-2015, 06:18 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
You can mark the thread as solved via the thread tools menu at the top of the page.
 
1 members found this post helpful.
  


Reply



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
Persistent GRUB rescue prompt error gavin526 Linux - Newbie 4 01-17-2012 09:27 PM
[SOLVED] persistent "bad superblock error" but otherwise system works well littlejoe5 Linux - General 1 06-22-2010 02:52 PM
Created USB bootable Ubuntu persistent install Cant install Java murph98 Linux - Newbie 3 05-26-2008 07:09 AM
Bad install suse 10.3 Loading Grub stage1.5....error 15 foamarium Linux - Laptop and Netbook 1 11-04-2007 01:04 AM
grub-install /dev/hda1 = bad mistake? raedt Linux - General 4 08-17-2003 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 03:37 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration