LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Recovering a lost OS (https://www.linuxquestions.org/questions/linux-newbie-8/recovering-a-lost-os-4175480598/)

Jigsaw Syd 10-13-2013 05:56 AM

Recovering a lost OS
 
I have partitioned to put Mint on my new laptop but.... I have lost Windows 8.

8 is not really important to me, but I may require it in the foreseeable future to communicate files and transfer files to Mint.

Can I recover 8?
Can it be placed at the back of my Hard drive to take up very little space?

Any help will most welcome

Robhogg 10-13-2013 06:53 AM

It depends, really, how Mint was installed. Did you get an option, while installing, to resize the Windows partition?

What do you see if you open a terminal and run sudo fdisk -l (list all disk partitions)?

Jigsaw Syd 10-14-2013 12:47 PM

Hi Robhogg,
Thank you but I have exasperated my problem.
It was to hell with windows and I have reinstalled Mint but with the 64 bit version.
Once installed I started loading some of my docs and left the laptop for lunch.
Now when I turn it on I get a full screen terminal.
I can load and install from the command line but that is all, I cannot get into the OS and I don't know what if anything I have done or what I must do to get back into my OS.
Not only a newbie but a silly "old" sod.

Syd

Info: before the terminal I get
....ubuntu 13.04.....
usb 1-1.1:string descriptor 0 read error:22

Checking dist drive for errors
This may take several minutes

Press C to cancel all checks


Then up pops the full screen terminal

Hope this helps

Jigsaw Syd 10-16-2013 04:50 AM

Recovering a lost OS-reply to Robhogg
 
Hi Robhogg,

I have run fdisk -l as instructed and this is what I get. I must say it means nothing to me.
Would it be better for me to backup and re-install?

fdisk -l result

bash: /usr/bin/mint-fortune: No such file or directory
syd@syd-Aspire-V3-571 ~ $ sudo fdisk -l
[sudo] password for syd:

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00065888

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 499711 248832 83 Linux
/dev/sda2 501758 1953523711 976510977 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 501760 1953523711 976510976 8e Linux LVM

Disk /dev/mapper/mint--vg-root: 991.5 GB, 991499911168 bytes
255 heads, 63 sectors/track, 120542 cylinders, total 1936523264 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/mint--vg-root doesn't contain a valid partition table

Disk /dev/mapper/mint--vg-swap_1: 8396 MB, 8396996608 bytes
255 heads, 63 sectors/track, 1020 cylinders, total 16400384 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/mint--vg-swap_1 doesn't contain a valid partition table
syd@syd-Aspire-V3-571 ~ $


Thank you for your help so far much appreciated.

Syd

TroN-0074 10-16-2013 06:22 AM

So when you boot up on to a terminal type.

Code:

sudo apt-get update
type your pasword, hit enter and let it do its thing.
next type
Code:

sudo apt-get upgrade
if prompted type your password, hit enter and let it do its thing.
once is done running type
Code:

sudo update-grub
usually after running these command you would wish to reboot your computer

Note:
sudo is the 'super user do' command in Linux base operating system most of the admin tasks must be done from a super user level. So for you to perform changes , updates and installation of new program you have level up yourself with the root pasword.

If you just want to read the a configuration file or an error log you can do it with the cat command.

like
Code:

cat /home/user/.xsession-error
you must replace user from that command to the name of your user in your computer. Another thing is that if the file is big you will just see a bunch of text flying in front of your eyes. if the file is too big and you want to see it with pauses you type

Code:

cat /home/user/.xsession-error | less
then you can hit the space bar to see portions of the file. To get out of the cat command you just press the q key.

post result of your command line here on the forums using the quote tags by using [ ] like
[.quote]put your quote here [./quote] without the period thouhg.


good luck to you

Jigsaw Syd 10-16-2013 11:45 AM

Hi TroN-0074,

I have followed the sudo commands, rebooted and the error message has gone.
There is a Ubuntu 15 .... then I get full terminal with login and password request same as before:
Exactly what I get

Ubuntu 15
. . . .

Then:
Linux Mint 15 Olivia syd-Aspire-V3-572 tty1
syd-Aspire.....etc Login:
type login
then password:
type in password XXXXXXXXX
command line.......~$
type in startx
& Hey Wallah

Nothing but

Last login: Date time etc on tty1
Welcome to Linux Mint
* Documentation: http://www.linuxmint.com
-bash:/usr/bin/mint-fortune:No such file or directory
syd@syd......etc ~$
type startx and Whoopie I'm in

Do I just backup and try to install again?

Your advice will be most welcome

Regards,

Syd

TroN-0074 10-16-2013 12:09 PM

I suspect that the problem is with a video driver that is not loaded correctly. Do you happen to know what video card do you have?

If we cant figure out what video device you have even if you re install chances are the problem will persist.

Do this type on the terminal

Code:

sudo lspci -knn
type your password, hit enter and see the result, paste the results here but use the quote tags so we can read it better.

Jigsaw Syd 10-16-2013 01:12 PM

Hi TroN0074

I am not sure about the video card all I can say is there is Intel Core i7-3632QM CPU @2.20GHz x4 8 GB & 1TB on an Acer Aspire-V3-571

Is this what you want? I trust thequotes are correct. I am learning slowly

Quote:

bash: /usr/bin/mint-fortune: No such file or directory
syd@syd-Aspire-V3-571 ~ $ sudo lspci knn
[sudo] password for syd:
Usage: lspci [<switches>]

Basic display modes:
-mm Produce machine-readable output (single -m for an obsolete format)
-t Show bus tree

Display options:
-v Be verbose (-vv for very verbose)
-k Show kernel drivers handling each device
-x Show hex-dump of the standard part of the config space
-xxx Show hex-dump of the whole config space (dangerous; root only)
-xxxx Show hex-dump of the 4096-byte extended config space (root only)
-b Bus-centric view (addresses and IRQ's as seen by the bus)
-D Always show domain numbers

Resolving of device ID's to names:
-n Show numeric ID's
-nn Show both textual and numeric ID's (names & numbers)
-q Query the PCI ID database for unknown ID's via DNS
-qq As above, but re-query locally cached entries
-Q Query the PCI ID database for all ID's via DNS

Selection of devices:
-s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]] Show only devices in selected slots
-d [<vendor>]:[<device>] Show only devices with specified ID's

Other options:
-i <file> Use specified ID database instead of /usr/share/misc/pci.ids.gz
-p <file> Look up kernel modules in a given file instead of default modules.pcimap
-M Enable `bus mapping' mode (dangerous; root only)

PCI access options:
-A <method> Use the specified PCI access method (see `-A help' for a list)
-O <par>=<val> Set PCI access parameter (see `-O help' for a list)
-G Enable PCI access debugging
-H <mode> Use direct hardware access (<mode> = 1 or 2)
-F <file> Read PCI configuration dump from a given file
syd@syd-Aspire-V3-571 ~ $

TroN-0074 10-16-2013 01:14 PM

you left out the - infront of knn

so you need to type
Code:

sudo lspci -knn
then post the results here

Jigsaw Syd 10-16-2013 05:49 PM

Hi again TroN,
Sorry about my little ommision, comes with old age and being a beginner.
Hope I have it right now
Quote:

bash: /usr/bin/mint-fortune: No such file or directory
syd@syd-Aspire-V3-571 ~ $ sudo lspci -knn
[sudo] password for syd:
Sorry, try again.
[sudo] password for syd:
00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM Controller [8086:0154] (rev 09)
Subsystem: Acer Incorporated [ALI] Device [1025:0647]
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
Subsystem: Acer Incorporated [ALI] Device [1025:0647]
Kernel driver in use: i915
00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
Subsystem: Acer Incorporated [ALI] Device [1025:0647]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
Subsystem: Acer Incorporated [ALI] Device [1025:0647]
Kernel driver in use: mei
00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)
Subsystem: Acer Incorporated [ALI] Device [1025:0647]
Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
Subsystem: Acer Incorporated [ALI] Device [1025:0647]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4)
Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 [8086:1e12] (rev c4)
Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
Subsystem: Acer Incorporated [ALI] Device [1025:0647]
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation HM77 Express Chipset LPC Controller [8086:1e57] (rev 04)
Subsystem: Acer Incorporated [ALI] Device [1025:0647]
Kernel driver in use: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e03] (rev 04)
Subsystem: Acer Incorporated [ALI] Device [1025:0647]
Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)
Subsystem: Acer Incorporated [ALI] Device [1025:0647]
02:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM57785 Gigabit Ethernet PCIe [14e4:16b5] (rev 10)
Subsystem: Acer Incorporated [ALI] Device [1025:0647]
Kernel driver in use: tg3
02:00.1 SD Host controller [0805]: Broadcom Corporation NetXtreme BCM57765 Memory Card Reader [14e4:16bc] (rev 10)
Subsystem: Acer Incorporated [ALI] Device [1025:0647]
Kernel driver in use: sdhci-pci
02:00.2 System peripheral [0880]: Broadcom Corporation Device [14e4:16be] (rev 10)
Subsystem: Acer Incorporated [ALI] Device [1025:0647]
02:00.3 System peripheral [0880]: Broadcom Corporation Device [14e4:16bf] (rev 10)
Subsystem: Acer Incorporated [ALI] Device [1025:0647]
03:00.0 Network controller [0280]: Atheros Communications Inc. AR9462 Wireless Network Adapter [168c:0034] (rev 01)
Subsystem: Foxconn International, Inc. Device [105b:e052]
Kernel driver in use: ath9k
syd@syd-Aspire-V3-571 ~ $

TroN-0074 10-16-2013 07:05 PM

This line here is your graphic card
Quote:

00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
Here is more information about a sub system
Quote:

Subsystem: Acer Incorporated [ALI] Device [1025:0647]
Two video cards perhaps?
This line tell us what the kernel is using
Quote:

Kernel driver in use: i915
So you will need to install the right driver for it. I havent had the chance to work with a computer with that hardware. Perhaps another member here has. Another thing it might work is load the generic VESA module for video.

I read on another post that Linux mint 13 already had the driver included

TroN-0074 10-17-2013 06:49 AM

I have been looking a solution for your display problem and nobody out there in the web is reporting any issues like the one you are facing.

Here is a link to a full specs http://www.linlap.com/acer_aspire_v3-571

maybe re install will be one solution?

zeesh 10-17-2013 08:46 AM

Quote:

Originally Posted by TroN-0074 (Post 5047400)
I have been looking a solution for your display problem and nobody out there in the web is reporting any issues like the one you are facing.

maybe re install will be one solution?

Thanks for link i am also looking for this.


All times are GMT -5. The time now is 07:23 PM.