LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-10-2014, 09:39 PM   #46
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174

Seems to claim it worked - if you have a MBR.
 
Old 09-11-2014, 12:29 AM   #47
jtarin
Member
 
Registered: May 2010
Location: Vladivostok, Russia
Distribution: LinuxMint 17
Posts: 103

Rep: Reputation: 23
Did you partition your drive and format it correctly before installation?
During installation you have the option where you want to install Grub.

Last edited by jtarin; 09-11-2014 at 12:30 AM.
 
Old 09-11-2014, 07:14 AM   #48
beenlord
Member
 
Registered: Jul 2014
Distribution: mint
Posts: 81

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jtarin View Post
Did you partition your drive and format it correctly before installation?
During installation you have the option where you want to install Grub.
well i formatted it but didn't partition it, I chose the option to erase the drive and install mint
 
Old 09-11-2014, 09:15 AM   #49
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174
That means that the simple version of the Mint install has:-

1. Partitioned your disk with one partition.
2. Formatted that partition.
 
Old 09-11-2014, 01:25 PM   #50
beenlord
Member
 
Registered: Jul 2014
Distribution: mint
Posts: 81

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JeremyBoden View Post
That means that the simple version of the Mint install has:-

1. Partitioned your disk with one partition.
2. Formatted that partition.
but when i check gparted it says there are four partitions

sda1 which is 457gbs in size with 11 being used and has the flag: boot
sda2 which is 8gb's in size with no used or unused space
sda5 which is in a dropdown of sda2, its 8gbs in size but has 40kb's used and the flag linux swap
and last unalocated which is 1.02 mbs in size

Last edited by beenlord; 09-11-2014 at 02:43 PM.
 
Old 09-12-2014, 08:36 AM   #51
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174
A bit strange - but it looks like Mint tried to create 8GB as a swap partition.

However, sda2 is an extended partition which can hold logical partitions such as sda5, sda6 etc
sda2 doesn't have data in it - the partitions inside sda2 hold the data.

So sda5 is your swap partition.

The unallocated space isn't a partition.

So you have just TWO primary partitions (sda1 & sda2).
 
Old 09-12-2014, 11:11 AM   #52
beenlord
Member
 
Registered: Jul 2014
Distribution: mint
Posts: 81

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JeremyBoden View Post
A bit strange - but it looks like Mint tried to create 8GB as a swap partition.

However, sda2 is an extended partition which can hold logical partitions such as sda5, sda6 etc
sda2 doesn't have data in it - the partitions inside sda2 hold the data.

So sda5 is your swap partition.

The unallocated space isn't a partition.

So you have just TWO primary partitions (sda1 & sda2).
so i should try reinstalling grub on both and see if anything changes?
 
Old 09-12-2014, 02:22 PM   #53
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174
No it's fine.

sda1 contains your / and your /home directories
sda5 contains your swap partition.

You shouldn't have any reference to sda2.

Check your /etc/fstab file accords with the above.

If you really want to reinstall again, I would delete all partitions first, using gparted.

Last edited by JeremyBoden; 09-12-2014 at 02:25 PM.
 
Old 09-12-2014, 03:55 PM   #54
beenlord
Member
 
Registered: Jul 2014
Distribution: mint
Posts: 81

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JeremyBoden View Post
No it's fine.

sda1 contains your / and your /home directories
sda5 contains your swap partition.

You shouldn't have any reference to sda2.

Check your /etc/fstab file accords with the above.

If you really want to reinstall again, I would delete all partitions first, using gparted.
well i checked the file in the file browser and its empty : does that mean someethings wrong?
 
Old 09-12-2014, 05:25 PM   #55
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174
You will have to write your own /etc/fstab.

Maybe something like...
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

proc  /proc  proc  defaults  0  0
# /dev/sda1
UUID=be35a709-c787-4198-a903-d5fdc80ab2f8  /     ext4  errors=remount-ro  0  1
# /dev/sda5
UUID=cee15eca-5b2e-48ad-9735-eae5ac14bc90  none  swap  sw  0  0
Change the uuid's to appropriate values.
 
Old 09-13-2014, 11:52 AM   #56
beenlord
Member
 
Registered: Jul 2014
Distribution: mint
Posts: 81

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JeremyBoden View Post
You will have to write your own /etc/fstab.

Maybe something like...
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

proc  /proc  proc  defaults  0  0
# /dev/sda1
UUID=be35a709-c787-4198-a903-d5fdc80ab2f8  /     ext4  errors=remount-ro  0  1
# /dev/sda5
UUID=cee15eca-5b2e-48ad-9735-eae5ac14bc90  none  swap  sw  0  0
Change the uuid's to appropriate values.
so is there a way to find out what the values should be?
 
Old 09-13-2014, 12:39 PM   #57
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174
Use the blkid command - example
Code:
jeremy@hector ~ $ sudo blkid
/dev/sda1: UUID="a2947a1d-d264-40b6-af9b-ab7dc74122f7" TYPE="ext4" 
/dev/sda5: LABEL="whatever" UUID="3f139030-57c3-4d28-9db6-9563fe1de01e" TYPE="???"
sda5 will be your swap partition, which I don't use.
 
Old 09-13-2014, 12:56 PM   #58
beenlord
Member
 
Registered: Jul 2014
Distribution: mint
Posts: 81

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JeremyBoden View Post
Use the blkid command - example
Code:
jeremy@hector ~ $ sudo blkid
/dev/sda1: UUID="a2947a1d-d264-40b6-af9b-ab7dc74122f7" TYPE="ext4" 
/dev/sda5: LABEL="whatever" UUID="3f139030-57c3-4d28-9db6-9563fe1de01e" TYPE="???"
sda5 will be your swap partition, which I don't use.
so if my the blkid result is this

mint@mint ~ $ sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/sr1: LABEL="U3 System" TYPE="iso9660"
/dev/sdb1: LABEL="UUI" UUID="0E8A-7D86" TYPE="vfat"
/dev/sda1: UUID="402c340e-eac9-4635-9cab-38f61e405fd4" TYPE="ext4"
/dev/sda5: UUID="0b50c1b0-2a75-4596-a88c-aaae76d28ac6" TYPE="swap"
/dev/sdd1: UUID="6B96906A13EC92B2" TYPE="ntfs"

my script should look like this?

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
# /dev/sda1
UUID=402c340e-eac9-4635-9cab-38f61e405fd4 / ext4 errors=remount-ro 0 1
# /dev/sda5
UUID=cee15eca-0b50c1b0-2a75-4596-a88c-aaae76d28ac6 none swap sw 0 0
 
Old 09-13-2014, 01:33 PM   #59
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174
It should be sufficient to boot and run Linux.
You will need to add extra entries if you want those ntfs partitions auto-mounted.
You will also need extra entries to get access to your CD or DVD.

Mine reads
Code:
/dev/scd0    /media/cdrom0  	udf,iso9660 user,noauto,exec,utf8	0       0
Note that my /dev contains sr0 and also a link cdrom -> sr0, /media contains cdrom0 and a link cdrom -> cdrom0
 
Old 09-13-2014, 02:38 PM   #60
beenlord
Member
 
Registered: Jul 2014
Distribution: mint
Posts: 81

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JeremyBoden View Post
It should be sufficient to boot and run Linux.
You will need to add extra entries if you want those ntfs partitions auto-mounted.
You will also need extra entries to get access to your CD or DVD.

Mine reads
Code:
/dev/scd0    /media/cdrom0  	udf,iso9660 user,noauto,exec,utf8	0       0
Note that my /dev contains sr0 and also a link cdrom -> sr0, /media contains cdrom0 and a link cdrom -> cdrom0
i just tried it and its still not letting me boot. i reinstalled before making the file because i didn't know about the open as root command in the file browser, the error message changed to invalied extent but it seems to change between that and normal.mod not found every time i reinstall so i assume theres an error in the document somewhere
 
  


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
Trouble Formatting Hard Drive in Linux Mint (Trying to Install Another OS) JayReed Linux - Newbie 13 01-21-2014 03:12 PM
Maxtor One Touch 4 USB 500GB External HDD Not showing up in Linux Mint Elyssa nonexist Linux - Hardware 6 12-24-2008 08:58 AM
Freecom 500GB External Hard Drive not visible gilbertt Linux - Hardware 3 11-13-2008 09:02 PM
Installing linux to an external hard drive. xxterrorxx Linux - Newbie 1 08-04-2008 01:51 AM
Linux won't recognize new 500GB Seagate second hard drive Grexsnip Linux - Hardware 6 07-05-2007 11:23 PM


All times are GMT -5. The time now is 06:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration