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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
07-29-2011, 03:41 PM
#1
LQ Newbie
Registered: Jul 2011
Posts: 6
Rep:
Lenovo s205 - Linux mint - Grub problem.
Hello. I recently bought a new laptop and since I love Linux the first thing I did was to create a linux mint bootable usb with UNetbootin. Then wiped the hdd and installed mint without any trouble. But when I rebooted the computer got stuck at Grub loading and then reboot in an infinite loop.
Then I boot it up from the live-usb and tries to find an answer with google. And I finds this.
https://help.ubuntu.com/community/Grub2#ChRoot
I follow the instructions but the computer is still stuck at a loop at bootup.
I suspect that it may has something to do with my grub configuration.
Code:
Boot Info Script 0.60 from 29 July 2011
============================= Boot Info Summary: ===============================
=> Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector
1 of the same hard drive for core.img. core.img is at this location and
looks in partition 1 for (,msdos1)/boot/grub.
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint Xfce Edition
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: __________________________________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 474,134,527 474,132,480 83 Linux
/dev/sda2 474,136,574 488,396,799 14,260,226 5 Extended
/dev/sda5 474,136,576 488,396,799 14,260,224 82 Linux swap / Solaris
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 fb273394-83e9-4477-8ff1-14b7acc1b3de ext4
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda1 / ext3 (rw,relatime,errors=remount-ro,data=ordered)
=========================== sda1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set fb273394-83e9-4477-8ff1-14b7acc1b3de
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set fb273394-83e9-4477-8ff1-14b7acc1b3de
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set fb273394-83e9-4477-8ff1-14b7acc1b3de
insmod png
if background_image /boot/grub/linuxmint.png; then
true
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/06_mint_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set fb273394-83e9-4477-8ff1-14b7acc1b3de
insmod png
if background_image /boot/grub/linuxmint.png ; then
set color_normal=white/black
set color_highlight=white/light-gray
else
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
fi
### END /etc/grub.d/06_mint_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'LinuxMint GNU/Linux, with Linux 2.6.32-5-amd64' --class linuxmint --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set fb273394-83e9-4477-8ff1-14b7acc1b3de
echo 'Loading Linux 2.6.32-5-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-amd64 root=/dev/sda1 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-amd64
}
menuentry 'LinuxMint GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode)' --class linuxmint --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set fb273394-83e9-4477-8ff1-14b7acc1b3de
echo 'Loading Linux 2.6.32-5-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-amd64 root=/dev/sda1 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-amd64
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sda1/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sda5 swap swap sw 0 0
/dev/sda1 / ext4 rw,errors=remount-ro 0 0
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
220.130485535 = 236.363309056 boot/grub/core.img 1
220.141605377 = 236.375248896 boot/grub/grub.cfg 1
0.597457886 = 0.641515520 boot/initrd.img-2.6.32-5-amd64 3
220.129878998 = 236.362657792 boot/vmlinuz-2.6.32-5-amd64 1
0.597457886 = 0.641515520 initrd.img 3
220.129878998 = 236.362657792 vmlinuz 1
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda2
00000000 a7 c3 77 dc a5 b5 94 09 38 5b 57 c1 80 5a 9c 86 |..w.....8[W..Z..|
00000010 59 84 63 0c 85 48 ed 05 e4 85 8c f1 a1 f1 5e 25 |Y.c..H........^%|
00000020 d6 a9 c4 ba 94 18 53 62 3d ba 48 d4 eb 39 61 db |......Sb=.H..9a.|
00000030 f4 00 c7 9b 9e 66 10 c7 89 83 db 80 72 81 eb d8 |.....f......r...|
00000040 ec 00 62 f5 50 64 1c cc 97 ca 99 2a ca 5f 43 47 |..b.Pd.....*._CG|
00000050 a4 7d 40 18 d0 b2 8a 2d bc 8f c4 61 48 f0 1a 08 |.}@....-...aH...|
00000060 98 0a 42 62 64 dc 40 a9 f1 26 2e c0 07 70 37 bc |..Bbd.@..&...p7.|
00000070 7c eb 47 7a 99 7c 93 6e 86 d4 19 ee ba 12 f9 93 ||.Gz.|.n........|
00000080 db ce ca 9c 49 70 c5 01 0e c4 0a 6c 6e 40 0a 4f |....Ip.....ln@.O|
00000090 79 c6 02 5b aa 33 bc 14 72 86 1f ff 2b 5a 8f f4 |y..[.3..r...+Z..|
000000a0 86 58 df 56 a3 b2 dd b4 5c 0c 97 aa 6b 41 f8 d0 |.X.V....\...kA..|
000000b0 6c a8 4f 7b 70 0b 1e 53 34 d7 8d 92 2f d2 0d a1 |l.O{p..S4.../...|
000000c0 70 15 2b c3 c8 b0 be 36 1e 17 f9 7e 82 b8 34 fb |p.+....6...~..4.|
000000d0 8b 83 48 b7 ae 3a b8 2b 44 a7 20 37 c2 d6 0a 0b |..H..:.+D. 7....|
000000e0 76 de 0d b2 ed 1c 98 ba ba 10 8c 96 4f d2 2b 9a |v...........O.+.|
000000f0 05 e6 6c d0 44 d5 b9 69 92 d2 50 4c 62 93 ef e5 |..l.D..i..PLb...|
00000100 93 54 57 4c 13 14 31 f1 19 4a 07 32 b9 87 e3 66 |.TWL..1..J.2...f|
00000110 44 bb e7 d1 ad da 12 3a ce bf 6e 14 3f ea af 4b |D......:..n.?..K|
00000120 b6 90 65 53 34 c9 f1 32 2b c7 04 b4 b7 9e 3e 4a |..eS4..2+.....>J|
00000130 3f 1a 99 3c 8a 1b 3d 55 42 16 0e 0b 56 61 73 1d |?..<..=UB...Vas.|
00000140 5a 4e 00 9f 14 05 be 85 db 2f ad a6 33 83 e5 ba |ZN......./..3...|
00000150 16 7d 12 84 b7 66 74 b3 77 10 4f 35 49 3f 3d 98 |.}...ft.w.O5I?=.|
00000160 4c 9a d8 1b 48 3f bc 12 62 6e a5 b3 85 c9 94 0f |L...H?..bn......|
00000170 35 b3 93 85 10 a4 dc 28 54 91 1e d8 47 75 dc 26 |5......(T...Gu.&|
00000180 48 ba 5e 82 c7 f2 d3 8d cd 84 e3 67 fc 1b f9 8b |H.^........g....|
00000190 74 8d 35 9e 27 a0 45 d5 ff 5d df cf 23 8e 6e e5 |t.5.'.E..]..#.n.|
000001a0 a0 d6 af 20 be 75 06 e9 54 06 c7 cf f8 b7 46 7b |... .u..T.....F{|
000001b0 05 8d 77 3a fc 4e d6 79 c5 d2 7f a3 d4 02 00 fe |..w:.N.y........|
000001c0 ff ff 82 fe ff ff 02 00 00 00 00 98 d9 00 00 00 |................|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
Unknown BootLoader on sda5
=============================== StdErr Messages: ===============================
hexdump: /dev/sda5: No such file or directory
hexdump: /dev/sda5: No such file or directory
Any ideas on what the problem might be?
07-29-2011, 07:46 PM
#2
LQ Newbie
Registered: Jul 2011
Posts: 6
Original Poster
Rep:
Nvm I solved it by removing grub2 and installed grub-legacy.
I have been at this problem for 20 hours and I can't believe that I didn't figure this out until now. I think it's time to go to bed.
Anyway, this is pretty much what I did.
https://help.ubuntu.com/community/Gr...talling GRUB 2
Okay, I know i didn't really solve the grub2 problem but it's a workaround.
04-23-2020, 07:52 AM
#3
LQ Newbie
Registered: Apr 2020
Posts: 1
Rep:
The easiest way if you don’t want write some codes etc., you can also take off the Hard Drive from the laptop and connect to any desktop known working and make the installation from that desktop and after the intallation etc. is done you can reconnect your hard drive to your laptop. İf you have a network issue you can realign network and HDD in place from bios boot menu…
All times are GMT -5. The time now is 01:50 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News