LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-19-2016, 05:30 PM   #31
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242

Quote:
Originally Posted by GiantMcBig View Post
I listed the partitions again and got this:
Code:
ISO mount?

Disk /dev/loop0: 1.7 GiB, 1757536256 bytes, 3432688 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes



SD CARD

Disk /dev/mmcblk0: 29.1 GiB, 31272730624 bytes, 61079552 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 33324489-7A5D-421B-82A4-E26EE7F909E1

Partitioned SD CARD ? : that is how my system sees my SD CARD /dev/mmcblk0p1 

Device            Start      End  Sectors  Size Type
/dev/mmcblk0p1     2048  1050623  1048576  512M EFI System this is the efi boot
/dev/mmcblk0p2  1050624 57063423 56012800 26.7G Linux filesystem That is your actual Linux System
/dev/mmcblk0p3 57063424 61077503  4014080  1.9G Linux swap Swap partition
But the way it is reading it is a 26GB Linux Install, because a usb sick Linux does not take that much room.
Maybe that cloudbook uses an sd card signature for its hard drive. This is making so sense whatsoever to me.
Do you have an SD Card in your slot?


if yes take it out.....


Quote:



Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 7.7 GiB, 8273264640 bytes, 16158720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc3072e18

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 56 16158719 16158664 7.7G c W95 FAT32 (LBA)

You go this brand new? what does it say on box for Hard Drive size?

can you still boot windows? you can use windows disk manager to see what it has in it too.

flip to the bottom and post model and make numbers

Last edited by BW-userx; 12-19-2016 at 05:42 PM.
 
Old 12-20-2016, 12:49 AM   #32
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,680
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Scratch what I said before. I think that 7.7 GB partition might be your hard drive's efi system partition. That would explain why it's so small, and it's the right kind of file system too. Since it's already mounted, you can examine it. Check the contents of /mnt and of any subdirectories.
 
Old 12-20-2016, 05:19 AM   #33
GiantMcBig
LQ Newbie
 
Registered: Dec 2016
Posts: 22

Original Poster
Rep: Reputation: Disabled
Ok hazel. To pull up that dir, do I type sudo /mnt? Also, BW, windows is no longer available in my boot processing order in the bios
 
Old 12-20-2016, 05:38 AM   #34
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Quote:
Originally Posted by GiantMcBig View Post
The only changes I made to the Bios was to rearrange the order of the boot so that instead of windows running, my USB would run instead. As far as the grub in my MBR is concerned, sadly, I don't know what that means.
Some bioses (UEFIs) don't SAVE your boot USB first priority. I have a gateway desktop like that.

If you have grub installed on several installations, the one you installed last is likely the grub that is actually used. You could chainload the other grub.cfg with configfile from the "c"ommand mode.

GRUB> ls
GRUB> configfile (hd0,3)/boot/grub/grub.cfg

And maybe some insmod of .mod type things to be able to read the storage devices and partitions before doing ls. YMMV
 
Old 12-20-2016, 05:52 AM   #35
GiantMcBig
LQ Newbie
 
Registered: Dec 2016
Posts: 22

Original Poster
Rep: Reputation: Disabled
And I use the terminal to pull up that grub info correct?
 
Old 12-20-2016, 06:41 AM   #36
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,680
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Quote:
Originally Posted by GiantMcBig View Post
Ok hazel. To pull up that dir, do I type sudo /mnt?
Nope! /mnt isn't a command, it's a directory. We know you've got something mounted on /mnt because the system told you so; we just don't know what it is yet. Try this:
Code:
ls /mnt
Since it's only a directory listing, which any user is allowed to do, you won't have to use sudo. If it turns out to be a Linux file system mounted there, that's brilliant news. It means your Linux install really did work. Then we can get that mysterious fat32 partition mounted and find out what's in it. And if that turns out to be an efi system partition, it shouldn't be too difficult to get grub installed onto it.

Once you have grub, you can boot Windows from it.
 
Old 12-20-2016, 11:59 AM   #37
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Wow. GiantMcBig: This is looking to me like you've got Linux installed but not a bootloader. A couple of suggestions:

1) Boot your live Linux ISO from your USB drive and then run the program GParted (GParted comes with most live Linux distributions). It's a partition editor like the native Windows Disk Manager applet or the old Partition Magic application. Choose what looks most like your main hard drive in the upper right selection box and see what the partitions contain. If I'm reading one of the above posts correctly, your main hard disk is 32Gb, partitioned into 3 primary partitions: your ESP (EFI System Partition - where your bootloader must reside), your main Linux install partition and a linux swap partition. Windows seems to have been completely removed during your linux install. If this is the case, you can try reinstalling Grub or whatever bootloader you've decided to use once you're in your live session. Follow your distribution's instructions for ensuring it installs correctly.

2) If no luck with the above, there exists a neat little utility called Boot-Repair-Disk available in live ISO form. Create a USB or CD with it, much the same way you probably created your live Linux installation medium. Boot it up and follow the repair instructions - usually pretty simple if there actually IS a bootable OS installed on the computer.

3) Worst case ... reinstall Linux all over *again* from scratch and be *real* careful to choose the right option when it gets to the part about your bootloader (Grub, for example). Sometimes after installing a bootloader, you need to edit (and/or sometimes regenerate) the config file it created in order to make sure it is looking in the proper place for your operating system. It usually has to do with the device nomenclature (ex. /dev/sda1 ... etc.). By using GParted before rebooting, it would be useful for you to take down the partition names and make sure your bootloader's config file (ex. /etc/default/grub.cfg for GRUB, /boot/syslinux/syslinux.cfg for Syslinux) is correct.

Hope this helps. By the way, it's totally normal that you're running into these types of problems starting out with Linux - don't give up !! Things will eventually work and it'll be worth it.
 
Old 12-20-2016, 01:16 PM   #38
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,680
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
First things first! We need to find out what is on those partitions. He can use the graphical file manager to explore if he feels more comfortable with it than with the command line.

What's on /mnt? Is it a Linux filesystem? If it is, a quick check of directories like /bin and /lib to confirm that they're fully populated. Which partition is this actually? mount should show that. And then hopefully he's identified his Linux root partition.

Then what's in /mnt/boot? There should be a kernel, an initrd, a grub directory and perhaps an efi directory. If there isn't an efi directory, he should create one. Then mount that mysterious fat32 partition (/dev/sda1) on /mnt/boot/efi and look at its contents.

Here's an important principle: if things go wrong in Linux, calm systematic investigation will nearly always show what needs to be done to fix it. And that's a more valuable lesson than you get when everything runs smoothly.
 
Old 12-20-2016, 01:22 PM   #39
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by GiantMcBig View Post
Ok hazel. To pull up that dir, do I type sudo /mnt? Also, BW, windows is no longer available in my boot processing order in the bios
you boot list off of BIOS should be if you are making it auto boot in a sequence to get your USB Port first.

1. USB hdd Port (or something like that) that is all that matters to boot your USB Stick to install Linux.
2. on board main hdd

insert USB Stick with Linux on it.

boot into Linux go into install script. Answer whatever questions it has on your settings. for where to install it.

Pick /dev/sda it should go into a partition step. If it has an auto-partition for you to use then use it. being that your space is only 32 to 64 GB I'd put everything (reluctantly) onto root / not splitting my home and root.

then it should know if you are in EFI boot mode, and install grub accordingly.

you just need to (most of the time, if not always. I have not tried every installer out there for every distro out there). So you may 99% chance of you might have to tell it where you want Grub installed to. If it is EFI then I have only installed EFI once on someone else laptop for them, (and had no issues on doing it) but still my experience with that is limted to only that one time. so being you have a cloud book being a newer "laptop" their is a 99.9% chance it is EFI.

so look to the others in here how to install that. but it shouldn't be any harder then to MBR way.

I'm still wondering what was this all about?


Quote:
Disk /dev/mmcblk0: 29.1 GiB, 31272730624 bytes, 61079552 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 33324489-7A5D-421B-82A4-E26EE7F909E1

Partitioned SD CARD ? :

Device Start End Sectors Size Type
/dev/mmcblk0p1 2048 1050623 1048576 512M EFI System
/dev/mmcblk0p2 1050624 57063423 56012800[B] 26.7G Linux filesystem
/dev/mmcblk0p3 57063424 61077503 4014080 1.9G Linux swap
Because that, what is highlighted is reading as an SD Card with three partitions on it. Like a full blown EFI Linux Install.


Not a normal hard drive, or USB Port. Where it looks like you have a 26.7G Linux OS installed to.

Last edited by BW-userx; 12-20-2016 at 01:24 PM.
 
Old 12-20-2016, 01:27 PM   #40
GiantMcBig
LQ Newbie
 
Registered: Dec 2016
Posts: 22

Original Poster
Rep: Reputation: Disabled
There wasn't anything in /mnt.

Click image for larger version

Name:	Screenshot from 2016-12-20 19-24-34.png
Views:	11
Size:	119.7 KB
ID:	23808
 
Old 12-20-2016, 01:37 PM   #41
GiantMcBig
LQ Newbie
 
Registered: Dec 2016
Posts: 22

Original Poster
Rep: Reputation: Disabled
I figued I'd go into My Computerand look around on my harddrive. This is what i found in the Boot folder:

Click image for larger version

Name:	Screenshot from 2016-12-20 19-30-06.jpg
Views:	15
Size:	63.2 KB
ID:	23809


So I know i have EFI and GRUB. The EFI folderis empty, but the GRUB folder looks like this:

Click image for larger version

Name:	Grubfolder.jpg
Views:	14
Size:	57.7 KB
ID:	23810

Hopefully this helps clear some fog.


I take that back, that wasn't in my harddrve. Thats in my media devices. when i go to my harddrive and view the Boot folder, the isn't an EFI, but there is a GRUB folder.

Last edited by GiantMcBig; 12-20-2016 at 01:40 PM.
 
Old 12-20-2016, 03:05 PM   #42
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Another question, GiantMcBig : when you try booting without any device plugged into the computer, does GRUB actually try to start before you get your "no operating system" message ? You can usually tell this because the word GRUB will show on the screen at one point.
 
Old 12-20-2016, 03:58 PM   #43
GiantMcBig
LQ Newbie
 
Registered: Dec 2016
Posts: 22

Original Poster
Rep: Reputation: Disabled
I'll check
 
Old 12-23-2016, 11:38 AM   #44
stanvan
Member
 
Registered: May 2007
Posts: 123

Rep: Reputation: 50
I'm not familiar with eMMC drives, but I'm guessing that's what you have that you call a hard drive. They may sometimes be called a SSD, but they may look a little more like a SD card to GRUB (so /dev/mmcblk0p1 may be your internal drive).

Also, Linux Mint recommends that you turn off Secure Boot in your UEFI settings, and I don't think anyone else suggested that yet (if you haven't already). UEFI often creates headaches, even with UEFI-friendly distros. Even though Mint is UEFI-friendly, I would try reinstalling after turning off Secure Boot and Fast Boot, and turning on Legacy Mode (or CSM). There may be other UEFI settings too... Google for anything UEFI that affects Linux installs.

Since you're booting on a USB stick, I'm fairly sure you can get it installed too. The rEFInd Boot Manager may help you, or at least give you more information about how EFI and UEFI works.

If you figure out how to get it installed, you may consider not using a swap partition if you have enough RAM, and look at some methods of setting TRIM to protect the drive. I don't know if eMMC drives need this like is recommended for SSD, but it'd be worth researching.

Good luck, and let us hear how you're doing with it.

Last edited by stanvan; 12-23-2016 at 11:50 AM.
 
  


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
[SOLVED] Gedit keeps reverting to a previous session after reboot linustalman Linux - Software 4 01-22-2011 09:42 AM
[SOLVED] How to save the output to a log file without wiping the previous contents greatcz Linux - Newbie 2 07-25-2010 10:14 AM
Save settings on reboot PipeDreams Mandriva 8 03-24-2006 07:41 AM
Reboot into previous processes sofasurfer Linux - Newbie 3 01-04-2004 11:23 PM
iptablse wont save Kinstonian Linux - Security 5 05-12-2002 06:22 AM

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

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