LinuxQuestions.org
Visit Jeremy's Blog.
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 01-04-2012, 04:47 PM   #16
stormdog
Member
 
Registered: Dec 2011
Posts: 35

Original Poster
Rep: Reputation: Disabled

Boot Info Script 0.60 from 17 May 2011


============================= Boot Info Summary: ===============================

=> Grub Legacy (v0.97) is installed in the MBR of /dev/sda and looks on the
same drive in partition #1 for /boot/grub/stage2 and /boot/grub/grub.conf.

sda1: __________________________________________________________________________

File system: ext2
Boot sector type: Windows XP
Boot sector info:
Operating System:
Boot files: /boot/grub/grub.conf /etc/fstab

sda2: __________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

sda3: __________________________________________________________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: __________________________________________________________________________

File system: ext3
Boot sector type: -
Boot sector info:
Mounting failed: mount: wrong fs type, bad option, bad superblock on /dev/sda5,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


sda6: __________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

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

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 63 58,576,677 58,576,615 83 Linux
/dev/sda2 232,332,030 234,436,544 2,104,515 82 Linux swap / Solaris
/dev/sda3 58,576,894 232,331,263 173,754,370 5 Extended
/dev/sda5 58,576,896 231,307,263 172,730,368 83 Linux
/dev/sda6 231,309,312 232,331,263 1,021,952 82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/mmcblk0p1 0000-0000 vfat BACKUP
/dev/sda1 4df368f2-3879-41c8-b379-478151aac025 ext2 linpus
/dev/sda2 swap
/dev/sda5 23d40835-563b-4ee3-b841-ab79e976ca55 ext3
/dev/sda6 237faadc-10d7-4770-aeba-e9bc447eac19 swap

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/mmcblk0p1 /media/BACKUP vfat (rw,nosuid,nodev,uhelper=hal,utf8,shortname=winnt,uid=500)
/dev/sda1 / ext2 (rw)


========================== sda1/boot/grub/grub.conf: ===========================

--------------------------------------------------------------------------------

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

--------------------------------------------------------------------------------

=============================== sda1/etc/fstab: ================================

--------------------------------------------------------------------------------
/dev/sda1 / ext2 defaults,noatime 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
#none /tmp tmpfs defaults 0 0
/dev/sda2 swap swap defaults 0 0
--------------------------------------------------------------------------------

=================== sda1: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)

?? = ?? boot/grub/grub.conf
?? = ?? boot/grub/stage2
?? = ?? boot/initrd-splash.img

========= Devices which don't seem to have a corresponding hard drive: =========

hdc sdb
 
Old 01-04-2012, 08:08 PM   #17
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,542

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Amazing what a bit of hard data does for the situation, rather than supposition.
Your Mint install looks broken. Simplest to do it again. Makes sure you check its veracity first - either md5sum it or use the "check CD/media" option if it has one.
Also check which of those swaps Linpus is using (swapon -s) - hopefully sda2.
I'd be inclined to delete sda5 and the non-used swap (sda6 ?) and re-do a full install of Mint.
 
Old 01-07-2012, 05:34 PM   #18
stormdog
Member
 
Registered: Dec 2011
Posts: 35

Original Poster
Rep: Reputation: Disabled
@syg00

Whoa! Newbie here !
Quote:
Makes sure you check its veracity first - either md5sum it or use the "check CD/media" option if it has one.
I presume md5sum is a verification checker of some kind to confirm the download was not corrupted. The download was done to an XP machine so presumably the check has to be done there, therefore I'll need a similar Windows program? Confused by the "check CD/media". This install is being done via the USB (no CD drive).

Delete sda5/sda6? Help on how to do this very much appreciated.

Linpus swap check ~

Filename Type Size Used Priority
/dev/sda2 partition 1052248 0 -1


One question - if the original install didn't work, what's the likelyhood of a second install working, all other things being equal? What I mean is, there is no extra preparation here except for a sum check.

Ok, two questions - on install I will be asked about partitioning. I previously allocated 30MB to Linpus and the rest, 89MB, to Mint. Is that OK? I don't get an option to specify the swap size, as Markus presumed earlier, unless I go into special setup, which looked complicated.

Ok, three questions - out of interest, during the Mint install, Fedora/Linpus was located on sda1 (ext2) and Mint went on sda2 (ext 4). Only, sda2 now appears to be the swap file. What is sda3 and what happend to sda4? Just curious, attempting to understand what I'm doing.

Sorry, question four - would a direct replacement for Linpus at install be better? I presume this would avoid repartitioning. I didn't go for that initially because I was warned I would lose all the files; also assumed it was the safer option in case things went wrong.

Last edited by stormdog; 01-07-2012 at 05:47 PM. Reason: add question 4
 
Old 01-07-2012, 09:50 PM   #19
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,542

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Yes, md5sum is to verify your downloaded iso is "valid". There is a version for Windows - google it. On the (iso) download page will be a MD5 for the iso you downloaded. Easiest to just run md5sum against the iso and "eyeball" the result to ensure it looks the same. I'm actually surprised Mint don't have a md5sum file for download and comparison.
In future, if you don't know a command, use "man command" (no quotes) in a terminal. It's the manual (help) system in Linux. Use a "q" to quit.

1) hopefully you'll be more aware/careful, and it might go right the second time.
2) no that's O.K. - simple is better at this stage. Can always be adapted later.
3) I don't know how you got that idea. What you see is what it is. DOS partition tables were originally limited to 4 partitions - that constraint was relieved by making one an "extended" partition, which is merely a container for other (logical) partitions. /dev/sda3 is that "extended" - sda5/6/7 ... will be suballocated with that as logical partitions. The extended isn't used for filesystems (i.e. data), the logicals are. /dev/sda4 (the last "primary" partition of the 4) is available in case another primary is allocated later.
Note all this was designed/imposed by M$oft - not Linux. gpt disk partitioning is designed to avoid the pitfalls inherent in DOS partitioning. See wikipedia for both.
4) Nope. I always keep the original system in case of fuck-ups. You've already discovered the worth of your original decision.

Now for removing the partitions. Might be easiest to use parted. Do the following as root user (in the order shown)
Code:
parted -s /dev/sda rm 6
parted -s /dev/sda rm 5
parted -s /dev/sda rm 3

Last edited by syg00; 01-07-2012 at 09:51 PM.
 
Old 01-08-2012, 09:27 AM   #20
stormdog
Member
 
Registered: Dec 2011
Posts: 35

Original Poster
Rep: Reputation: Disabled
Partitions -

[root@localhost ~]# parted -s /dev/sda rm 6
-bash: parted: command not found
[root@localhost ~]# parted -s /dev/sda rm 5
-bash: parted: command not found
[root@localhost ~]# parted -s /dev/sda rm 3

Am I not in root?

Found md5sum for windows. Ok.

Thanks for the insights. Much appreciated.
 
Old 01-08-2012, 06:36 PM   #21
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,542

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Pity - parted isn't installed. Use fdisk as below - when you first get in you can use "m" as the message says to see the command list
Code:
fdisk /dev/sda
d
6
d
5
d
3
w
at any point you can use <ctrl>-c (hold Ctrl key down and hit "c") to cancel what you are doing if you feel unsure. Nothing actually updates until the "w".
 
Old 01-09-2012, 09:53 AM   #22
stormdog
Member
 
Registered: Dec 2011
Posts: 35

Original Poster
Rep: Reputation: Disabled
This seems an incredibly complex install for what is a Linux OS on an existing Linux setup. Are these typical problems associated with Linux installs, or just Linpus?

No matter. Once done, it's done (I hope ).

Do I run those commands one line at a time or run the whole lot just as you have it?
 
Old 01-09-2012, 07:04 PM   #23
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,542

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
I'm trying to make the install itself as simple for you as possible. Personally I'd just use the "advanced partitioning" option and reuse those partitions. You seem averse to trying that.

Fdisk is the command - the rest are sub-commands. Enter each line as shown (you'll get a message each time), and hit <Enter>. After that, just re-boot the install disk.
 
Old 01-10-2012, 03:25 PM   #24
stormdog
Member
 
Registered: Dec 2011
Posts: 35

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
Personally I'd just use the "advanced partitioning" option and reuse those partitions. You seem averse to trying that.
Sorry if I gave that impression. My earlier comment came from the point of view of a novice who's not knowledable about what he's doing and being faced with options he has no confidence in getting right. I didn't want to be back asking for advice on a re-partitioning gone horribly wrong!

If you feel the advanced option is the simpler/better way than I'm happy to give it a go.
 
Old 01-16-2012, 09:33 AM   #25
stormdog
Member
 
Registered: Dec 2011
Posts: 35

Original Poster
Rep: Reputation: Disabled
Unhappy

Ok. I've gone through it again with the same result - still no boot option for Mint.

Here's a recap ~

I downloaded Linux Mint 11 LXDE 32-bit, grub, md5sum and Pendrive USB Installer onto a Windows XP PC and created a bootable USB there. I sumchecked the contents of the USB - all ok. I ran Mint from the USB - no problem apart from Mozilla not firing up (presumably because it wasn't on the USB). I installed Mint using the simple default partitioning (I need advice to use the advanced partitioning option). It appeared to install Mint alongside the previous Mint install.

Here's the new setup ~

[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 9084 43671913+ 83 Linux
/dev/sda6 14399 14462 510976 82 Linux swap / Solaris
/dev/sda7 9084 14335 42178560 83 Linux
/dev/sda8 14335 14398 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

Any advice on where to go from here? I'm desperate to get this Mint installed.

Last edited by stormdog; 01-22-2012 at 03:11 PM.
 
Old 01-22-2012, 03:11 PM   #26
stormdog
Member
 
Registered: Dec 2011
Posts: 35

Original Poster
Rep: Reputation: Disabled
bump



Anyone with any ideas here?
 
Old 02-01-2012, 04:23 PM   #27
stormdog
Member
 
Registered: Dec 2011
Posts: 35

Original Poster
Rep: Reputation: Disabled
Thumbs down

Ok, thanks for leaving me high and dry guys .
 
Old 02-01-2012, 08:45 PM   #28
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Even though you've D2D recovery is for the present os enable it, because as you can see in my sig I have acer aspire also & I couldn't load Debian on it without it enable, I think it also disables writing to mbr, atleast in my case.
 
  


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


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