LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-31-2011, 09:34 AM   #1
stormdog
Member
 
Registered: Dec 2011
Posts: 35

Rep: Reputation: Disabled
Unhappy installed Mint beside Linpus but no selection on boot


(from thread - http://www.linuxquestions.org/questi...player-752921/)

I was advised to replace Linpus Lite on a low-spec Acer Aspire One netbook because Flash no longer worked within Firefox and I can't update it. Recommended Mint LXDE.

I downloaded the Mint ISO and Pendrive USB Installer onto a Windows PC and created a bootable USB there. I installed Mint onto the hard drive using the following drive space partition details -

Fedora release8 (Werewolf) /dev/sda1 (ext2) 30.0GB
Mint LXDE /dev/sda2 (ext4) 89.0GB

I expected to see an option at boot for Linpus/Mint but it boots straight to Linpus. I looked in the Boot Menu (F12). The options there are -

1. IDE 0: WDC WD1200BEVS-22USTO
2. Network Boot: Legacy PCI Device

On advice, I ran these commands (ref. Markus) -

[user@localhost home]$ fdisk -l
[user@localhost home]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 28G 5.3G 21G 21% /
none 247M 0 247M 0% /dev/shm
none 28G 5.3G 21G 21% /mnt/home
/dev/mmcblk0p1 3.8G 2.4G 1.4G 63% /media/BACKUP
posix-overlay(/media/BACKUP)
3.8G 2.4G 1.4G 63% /tmp/posixdir
[user@localhost home]$ lspci
00:00.0 Host bridge: Intel 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel 82801G (ICH7 Family) HD Audio Controller: Realtek ALC662G/268 (rev 02)
00:1c.0 PCI bridge: Intel 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 Ethernet controller: Realtek RTL8102E PCI Express Fast Ethernet controller (rev 02)
03:00.0 Ethernet controller: Atheros AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
04:00.0 System peripheral: JMicron Technologies, Inc. JMircon SD/MMC OHCI Host Controller
04:00.2 Generic system peripheral [0805]: JMicron Technologies, Inc. JMircon SD Host Controller
04:00.3 System peripheral: JMicron Technologies, Inc. JMircon MS Host Controller
04:00.4 System peripheral: JMicron Technologies, Inc. JMircon xD Host Controller
[user@localhost home]$ lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 0c45:62c0 Acer Crystal Eye Webcam
Bus 001 Device 001: ID 0000:0000
[user@localhost home]$

[user@localhost home]$ sudo fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x537c5b79

Device Boot Start End Blocks Id System
/dev/sda1 * 1 3647 29288307+ 83 Linux
/dev/sda2 14463 14593 1052257+ 82 Linux swap / Solaris
/dev/sda3 3647 14462 86877185 5 Extended
/dev/sda5 3647 14399 86365184 83 Linux
/dev/sda6 14399 14462 510976 82 Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/mmcblk0: 3999 MB, 3999793152 bytes
98 heads, 33 sectors/track, 2415 cylinders
Units = cylinders of 3234 * 512 = 1655808 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 3 2416 3901952 6 FAT16

The upshot is that Mint-installer probably hasn't installed Grub properly.

Can anyone help out from here?

* Please bear in mind I've had an awful lot of help with this install so far and basic instructions will be very much appreciated *
 
Old 12-31-2011, 12:23 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
If you're able to boot linpus then open a terminal as root &
Quote:
update-grub
 
Old 12-31-2011, 05:42 PM   #3
stormdog
Member
 
Registered: Dec 2011
Posts: 35

Original Poster
Rep: Reputation: Disabled
Hi Eddy,

[user@localhost /]$ su
Password:
[root@localhost /]# cd /
[root@localhost /]# update-grub
bash: update-grub: command not found

Did I get that right?

I can see various items throughout File System for Grub, so it's in there.

Last edited by stormdog; 12-31-2011 at 05:50 PM. Reason: added comment
 
Old 12-31-2011, 07:05 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Quote:
[root@localhost /]# update-grub
bash: update-grub: command not found
The error just means that the location of the update-grub executable is not in root's path. Try "which update-grub" to get the path to the executable, then use the entire path instead of just update-grub.

Also, to add the grub executables directory to your root user path,

PATH=PATH;(then put the path to grub executables here; path to directory without the executable name)
export PATH

Last edited by bigrigdriver; 12-31-2011 at 07:07 PM.
 
Old 01-01-2012, 02:12 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
also no need to "cd /" after "su" as you are already root
 
Old 01-01-2012, 04:41 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
update-grub (certainly at grub classic) is a "Debian-ism". Linpus (last I looked, and apparently confirmed by the OP) is based on Fedora.
Quote:
The upshot is that Mint-installer probably hasn't installed Grub properly
An entirely reasonable supposition.
Try booting the Mint USB and see if it has a "boot Hard disk Install" or somesuch option. Even if it has, it likely won't work as Mint isn't the "first" install on the disk.
How lame ...
Try it and see. Does it have a liveCD (use but don't install) option ?. Maybe we can walk you through a chroot in need.
 
Old 01-01-2012, 05:37 AM   #7
JESSEJJ89
Member
 
Registered: Dec 2011
Location: North America
Distribution: Gentoo
Posts: 50

Rep: Reputation: 5
Are you using Grub 2 ? If not please post your grub.cfg file. /boot/grub/grub.cfg
 
Old 01-02-2012, 09:21 AM   #8
stormdog
Member
 
Registered: Dec 2011
Posts: 35

Original Poster
Rep: Reputation: Disabled
Ok, thanks for the replies and a happy new year to you all.

I'm afraid most of what has been suggested is way over my head, but I'll go through each reply in turn.

bigrigdriver -

[user@localhost /]$ which update-grub
/usr/bin/which: no update-grub in (/usr/local/bin:/bin:/usr/bin:/usr/acer/bin:/sbin/:/usr/sbin/:/home/user/bin:/usr/acer/bin)


Apologies for not doing the rest but I don't know command code as much as I may appear to. In any case, this does seem to suggest the update isn't there.

Eddy - you're right, but ditto on my expertise with code, plus I didn't want to cut and paste just the good bits and give the onorous impression I know what I'm doing !

syg00 - during the installation of Mint it referred to Linpus Lite as Fedora release 8 (Werewolf). I can't see a "boot Hard disk install" option, or such, just 'Install Mint'. With the liveCD thing, I can run Mint off a USB stick, no problem, except for Firefox. I have no CD drive which I guess isn't helping matters.

JESSEJJ89 - all files/folders are simply named 'grub'. I don't specifically have grub.cfg files but I do have two grub.conf files.

Here is the one in boot/grub/ -

default=0
timeout=0
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu

title Linpus Linux RCD
rootnoverify (hd0,0)
kernel /boot/bzImage ro root=LABEL=linpus vga=0x311 splash=silent loglevel=1 console=tty1 quiet nolapic_timer
initrd /boot/initrd-splash.img

And here is the one in /etc -

default = 0
timeout =10
splashimage (hd0,0)/boot/grub/splash.xpm.gz
#
title Linpus Linux RCD
root (hd0,0)
kernel /boot/vmlinuz-2.6.23.9 ro root=LABEL=linpus selinux=0 vga=0x314 fbcon=font:SUN8x16 splash=silent,theme:default,tty:8,fadein quiet loglevel=1 console=tty1
initrd /boot/initrd-2.6.23.9.img

Last edited by stormdog; 01-02-2012 at 09:36 AM. Reason: typo
 
Old 01-02-2012, 11:47 AM   #9
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
take a screenshot & post output of
Quote:
sudo fdisk -l
After posting I noticed you already posted the information, it appears that you did install mint, so you may have to mount sda5 thru linpus then you may be able to go to /usr/share/applications & open Synaptic Package Manager & install grub-pc

Last edited by EDDY1; 01-02-2012 at 11:56 AM.
 
Old 01-02-2012, 02:16 PM   #10
stormdog
Member
 
Registered: Dec 2011
Posts: 35

Original Poster
Rep: Reputation: Disabled
Here it is again for reference -

[user@localhost /]$ sudo fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x537c5b79

Device Boot Start End Blocks Id System
/dev/sda1 * 1 3647 29288307+ 83 Linux
/dev/sda2 14463 14593 1052257+ 82 Linux swap / Solaris
/dev/sda3 3647 14462 86877185 5 Extended
/dev/sda5 3647 14399 86365184 83 Linux
/dev/sda6 14399 14462 510976 82 Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/mmcblk0: 3999 MB, 3999793152 bytes
98 heads, 33 sectors/track, 2415 cylinders
Units = cylinders of 3234 * 512 = 1655808 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 3 2416 3901952 6 FAT16
[user@localhost /]$

Looked in /usr/share/applications but couldn't see anything called Synaptic Package Manager.

Unsure if this screenshot is what you wanted.
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	7
Size:	85.1 KB
ID:	8741  

Last edited by stormdog; 01-02-2012 at 02:34 PM.
 
Old 01-02-2012, 05:59 PM   #11
JESSEJJ89
Member
 
Registered: Dec 2011
Location: North America
Distribution: Gentoo
Posts: 50

Rep: Reputation: 5
"update-grub" will not work because your using grub2

"grub2-mkconfig -o /boot/grub2/grub.cfg" see if this command works

You can also confirm your grub version using this command
"grub-install -v"

Last edited by JESSEJJ89; 01-02-2012 at 06:00 PM.
 
Old 01-02-2012, 07:55 PM   #12
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
No way in the world it's grub2.

@stormdog, go here, do as it says and post the RESULTS.txt. It'll show us all we need to know to see what you have re boot config(s).
 
Old 01-03-2012, 09:28 AM   #13
stormdog
Member
 
Registered: Dec 2011
Posts: 35

Original Poster
Rep: Reputation: Disabled
JESSEJJ89 -

[user@localhost /]$ grub2-mkconfig -o /boot/grub2/grub.cfg
bash: grub2-mkconfig: command not found
[user@localhost /]$ grub-install -v
grub-install (GNU GRUB 0.97)


syg00 -

I extracted to Downloads and opened a terminal there.

[user@localhost Downloads]$ sudo bash boot_info_script.sh

boot_info_script version: 0.60 [17 May 2011]

"blkid" could not be found.
"fdisk" could not be found.
"filefrag" could not be found.
"losetup" could not be found.

Please install the missing program(s) and run boot_info_script again.


There wasn't a RESULTS.txt file in the Downloads folder.

Last edited by stormdog; 01-03-2012 at 09:30 AM.
 
Old 01-03-2012, 09:48 AM   #14
stormdog
Member
 
Registered: Dec 2011
Posts: 35

Original Poster
Rep: Reputation: Disabled
Don't know if this is of any use but I had a look for those missing files.

A blkid, fdisk and losetup can be found in /sbin and a filefrag in usr/sbin.
 
Old 01-03-2012, 05:56 PM   #15
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
That's a path issue probably.
Does Linpus use a root user ?. Do you know its password. If yes, use the alternate method - but use "su -" to be sure the $PATH is set up correctly.
 
  


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
Installed Mint 12, now cannot boot! GRUBless Linux Mint 3 12-06-2011 08:30 AM
I want to change from Linpus to either Mint or Ubuntu. glenellynboy Linux - Newbie 182 10-27-2011 07:41 AM
[SOLVED] Installed mint 8 and xp, do not get boot page-newbie westieranch Linux Mint 28 12-29-2010 05:30 AM
changing OS selection at boot selection screen gcmhmedic17 Linux - Desktop 4 12-21-2010 12:38 PM
How do I boot Linux Mint~!? ( installed from Live CD ) bruceleejr Linux Mint 16 02-19-2010 05:09 PM


All times are GMT -5. The time now is 03:46 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration