LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-22-2017, 11:33 AM   #16
bsth123
Member
 
Registered: Feb 2017
Distribution: Kubuntu, Debian, FreeBSD
Posts: 195

Original Poster
Rep: Reputation: Disabled

Lenovo N22 8056
 
Old 04-22-2017, 12:34 PM   #17
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,951

Rep: Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146
Installing Linux onto eMMC

that is why you are not seeing /dev/sdx anything
eMMC sdd card thingy new tech baby!! woo Hoo!!

different post
Installing Linux to eMMC and MicroSD cards

I have not read them but this is what you are dealing with.

https://www.cnet.com/products/lenovo...-gb-ssd/specs/
look under hard drive for specs
 
Old 04-22-2017, 01:45 PM   #18
bsth123
Member
 
Registered: Feb 2017
Distribution: Kubuntu, Debian, FreeBSD
Posts: 195

Original Poster
Rep: Reputation: Disabled
I'm going to check it out. Thanks so much! I didn't read it all yet cause I've been very busy today. But I'll check it out and give it a go. You definitely went above and beyond on this one.
 
Old 04-22-2017, 01:58 PM   #19
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,951

Rep: Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146
Quote:
Originally Posted by bsth123 View Post
I'm going to check it out. Thanks so much! I didn't read it all yet cause I've been very busy today. But I'll check it out and give it a go. You definitely went above and beyond on this one.
thanks - hope you get it to work
 
Old 04-22-2017, 02:45 PM   #20
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Linux Mint
Posts: 1,739

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
I've got an HP Stream 11 that has Windows on the internal "HDD" (a 32GB eMMC). After having turned off secure boot, I've come up with two ways to dual-boot Linux on it.

#1. Installed Ubuntu on a micro-USB flash drive that I keep attached to the Stream. Requires hitting F9 to change the boot order each time I boot, but works well and is very straight-forward. Requires no messing around with the contents of the eMMC.

#2 Shrank the Windows partition on the eMMC by 2GB. Installed Ubuntu with / on the SD card (the mmcblk device) and /boot on the eMMC. This works, but is slower, possibly because I'm not using a fast SD card.
 
Old 04-24-2017, 02:47 PM   #21
bsth123
Member
 
Registered: Feb 2017
Distribution: Kubuntu, Debian, FreeBSD
Posts: 195

Original Poster
Rep: Reputation: Disabled
Since I received such great help I thought I'd give an update. I tried everything. I have an identical notebook with the same mmc and installed kubuntu on it with no prob. I never even booted into windows. The notebook with the problems was used by my daughter and she never used any antivirus software. The computer quit working completely. I decided the best way to solve it was to install kubuntu. You know what happened then. After I tried everything else I installed kubuntu on a usb flash drive. All I got were error messages and I've done this before. After I got past the error messages it tried to boot kubuntu but failed. I want to put it in the street and run over it with my car!
 
Old 04-24-2017, 03:33 PM   #22
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,951

Rep: Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146
Quote:
Originally Posted by bsth123 View Post
Since I received such great help I thought I'd give an update. I tried everything. I have an identical notebook with the same mmc and installed kubuntu on it with no prob. I never even booted into windows. The notebook with the problems was used by my daughter and she never used any antivirus software. The computer quit working completely. I decided the best way to solve it was to install kubuntu. You know what happened then. After I tried everything else I installed kubuntu on a usb flash drive. All I got were error messages and I've done this before. After I got past the error messages it tried to boot kubuntu but failed. I want to put it in the street and run over it with my car!
So you did wiped windows on it? I do wonder if you can delete that partition on it then reestablish it. that should get rid of anything on it.

Me I might try pulling my card out and putting it into that other one and see if it will boot it. that's would eliminate hardware other than the mmc card. if it boots. but I do not know if they've developed a means to corrupt BIOS via virus from Windows infection.

I do not think so. if not then that would ( me doing this) I do not know about anyone else. it is not my stuff. but I'd pull mine that works and put it into that other one and see if it boots. if yes. then take a closer look at that mmc hdd if you can still call it an hdd.

that being an option just to see if it is the mmc card or Hardware.


or just try creating a usb stick OS with dd on it then dd the main mmc card to clear everything on it. write zeros to it. then try installing again. After you set up the partition.

not much to lose I do suppose as it is not even being able to be used other then for something to run over.

mmc card should not be that different then an sdd hdd or reg hdd as far as removing partitions and writing zero's and ones and a random character and verify the write to it, three passes just to be sure then reestablishing a partition and what not that is needed to make it usable again.

AS far as putting Windows back on it. if it still has that sticker on it with them numbers that just got a get that Install windows with a USB Stick off windows sight and follow the instructions.

do the research first on that in what versions if other than 10 and how to's

Last edited by BW-userx; 04-24-2017 at 03:48 PM.
 
Old 04-25-2017, 10:15 AM   #23
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,090
Blog Entries: 1

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
The eMMC on my hp stream 11 shows up as /dev/mmcblk0. Why exactly are you looking for sda? Because the grub.cfg points at that? You should use the UUID of the partition which you want to boot. It's more portable.

$ sudo blkid

One of the menu items from my /boot/grub/grub.cfg
Code:
        menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-amd64-recovery-20170118-1000-1111-1111-111111111111' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
                insmod part_gpt
                insmod ext2
                set root='hd0,gpt1'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  20170118-1000-1111-1111-111111111111
                else
                  search --no-floppy --fs-uuid --set=root 20170118-1000-1111-1111-111111111111
                fi
                echo    'Loading Linux 3.16.0-4-amd64 ...'
                linux   /boot/vmlinuz-3.16.0-4-amd64 root=UUID=20170118-1000-1111-1111-111111111111 ro single 
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-3.16.0-4-amd64
        }
And the corresponding /etc/fstab
Code:
UUID=20170118-1000-1111-1111-111111111111 / ext4 defaults,noatime 0 1
For custom entries (in debian) you can put the menu entry into /etc/grub.d/40_custom which will get it included when update-grub runs (every kernel update).

I tend to make custom UUIDs when I make a new partition. With the YYYYMMDD-HH00- as the first part and the rest is basically the number of the partition. It's easier to type when I fiddle in grub.cfg land.
 
Old 04-25-2017, 11:00 AM   #24
bsth123
Member
 
Registered: Feb 2017
Distribution: Kubuntu, Debian, FreeBSD
Posts: 195

Original Poster
Rep: Reputation: Disabled
Well I wiped it entirely. Installed only this time I let kubuntu do it's own partitioning and all went well until I went to reboot. I get the options to boot from the drive or use windows bootloader. Neither one works. I'm not comfortable removing any hardware and switching it. Thanks for the suggestions.
 
Old 04-25-2017, 11:18 AM   #25
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,951

Rep: Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146
Quote:
Originally Posted by bsth123 View Post
Well I wiped it entirely. Installed only this time I let kubuntu do it's own partitioning and all went well until I went to reboot. I get the options to boot from the drive or use windows bootloader. Neither one works. I'm not comfortable removing any hardware and switching it. Thanks for the suggestions.
switching things out can be scary.

Windows boot loader? what the is that still doing there?

I clam a conspiracy between the laptop manufacturer and Windows. Because you stated you wiped it's hard drive (mmc card). the boot options. BIOS
or somewhere else I have no idea where.

Like @Shadow_7 suggested, matching UUID in fstab file and grub file. boot a USB Linux mount and investigate.

as root user
Code:
blkid # to get drive device to mount.
or using a file manager or sudo geany then navigate to where the file is. check it for UUIDs being that the editor was opened using root it can then be used to save any changes made. if needed. using the file manager to complete the auto mount of that drive on the laptop. just click into it, maybe even use it to navigate to the file needed, or you can use a manual mount to your /tmp on the USB Linux.

Code:
mount source destination
Still the blkid will give you the proper UUID needed to check and change to. Most distros already use UUID in the grub and fstab, but checking it is not a bad idea.

that windows boot loader has me befiddled. if your laptop and that laptop is not completely identical which can be because they can and I have seen it. I had a netbook that the make was the same the model was not even though it still looked like that other one. it wasn't minor changes were made to it.

Anyways, without looking at it myself and no other information on that 'windows boot loader' I have no idea about that one. Other then looking into what that BIOS has in it.

Last edited by BW-userx; 04-25-2017 at 11:21 AM.
 
Old 04-25-2017, 12:13 PM   #26
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,090
Blog Entries: 1

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
It would be a little hard to remove the /dev/mmcblk0 eMMC device as it's likely soldered to the motherboard of my cheap laptop. I normally use a bootable USB distro and update-grub on IT and reboot, which lets me select the new install via it's menu after update-grub. Otherwise you can use "e" to edit a menu item before booting it. Or "c" to enter most of the lines of a menu item manually to boot an installation. As long as the /etc/fstab is golden, and the kernel is bootable, good to go. I'm often booted into a new install before I install the boot loader with methods like these. It simplifies the process greatly. Or at least makes the grub menu shorter by only having entries of the install, not the installer, and any other connected devices.
 
Old 04-25-2017, 01:16 PM   #27
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,951

Rep: Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146
Quote:
Originally Posted by Shadow_7 View Post
It would be a little hard to remove the /dev/mmcblk0 eMMC device as it's likely soldered to the motherboard of my cheap laptop. I normally use a bootable USB distro and update-grub on IT and reboot, which lets me select the new install via it's menu after update-grub. Otherwise you can use "e" to edit a menu item before booting it. Or "c" to enter most of the lines of a menu item manually to boot an installation. As long as the /etc/fstab is golden, and the kernel is bootable, good to go. I'm often booted into a new install before I install the boot loader with methods like these. It simplifies the process greatly. Or at least makes the grub menu shorter by only having entries of the install, not the installer, and any other connected devices.
so you slap that sd card into that sd card slot reader, and lucky for you it actually boots off of it?

because I had one laptop that said in BIOS boot order SD CARD as an option, but never got that to work.

That here though I think would be the best solution to this. If it can boot the sd card. Get the fastest one he can then install it on that.
if it takes as a hdd.
Install grub to it
in BIOS if he got a hit {a key} to select boot order or boot from then all one has to do is select that to boot it. done.
it is a theory
 
Old 04-25-2017, 04:02 PM   #28
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,090
Blog Entries: 1

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
The onboard SD card reader is NOT bootable, but I have several SDHC readers that ARE bootable. And other bootable from USB options. I could probably chainload the onboard card reader, but a little pointless since you'd be using another bootable source to do so.
 
Old 04-25-2017, 04:10 PM   #29
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,951

Rep: Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146
Quote:
Originally Posted by Shadow_7 View Post
The onboard SD card reader is NOT bootable, but I have several SDHC readers that ARE bootable. And other bootable from USB options. I could probably chainload the onboard card reader, but a little pointless since you'd be using another bootable source to do so.
OIC

therefore one could even use a internal laptop hdd with a cord to connect it to the usb bootable port if it has such a thing as mine does. and I have done so. same set up just bigger more space setup

Last edited by BW-userx; 04-25-2017 at 04:12 PM.
 
Old 04-26-2017, 04:44 AM   #30
bsth123
Member
 
Registered: Feb 2017
Distribution: Kubuntu, Debian, FreeBSD
Posts: 195

Original Poster
Rep: Reputation: Disabled
Can someone explain that in english? remember I'm still pretty new to this. I thought about buying a cheap external hd but I didn't know if that would work. And yes mine is soldered in.
 
  


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
Kubuntu Won't Boot on USB Hard Drive Tyro65 Linux - Newbie 3 05-15-2011 08:31 AM
Kubuntu 10.10 Dual Boot W/ Win 7 Pro: No Option To Boot Kubuntu FrostBot Ubuntu 2 01-26-2011 08:17 PM
Dual Boot drive share with kubuntu/win2000 nardz Linux - Newbie 10 02-27-2007 08:18 PM
Drive Sharing on a dual boot (kubuntu/win2000) nardz Ubuntu 2 02-27-2007 09:50 AM
when fedora machine is connected to the internet via network windiws machines cannot purbeck Linux - Networking 1 01-24-2004 07:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:25 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