LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Install Issues (https://www.linuxquestions.org/questions/linux-newbie-8/install-issues-805370/)

atmega-ist 05-01-2010 06:55 PM

Install Issues
 
Hello, all -

I've been interested in using linux for a while now and came across an used, free desktop with nothing to lose so I thought I'd check out Ubuntu.

......Most frustrating two days of my life... I love what I see running it from the CD but can't seem to get the darn thing to install on the HDD. I've tried almost everything I can find on google, other forums, etc... but can't seem to get the right generic fix. I was wondering if someone might be kind enough to just start at square 1 with me and "leave no stone unturned". I'll be happy to provide any information needed and I've become fairly comfortable with the terminal so I'd hope I'll be able to get what anyone may need info wise.

Here's and overview of where I am:

0. Installed (so i thought) ubuntu (latest version found here) over an existing Windows XP OS.

1. removed disc and reset boot order to boot from HDD.

3. the first time i got an MBR error

4. second time it looked like it was trying to bring up the Windows boot screen but would last for a few frames and then instantly flash off and the boot cycle would restart...

5. went back through the installer on ubuntu's desktop by running it from the CD and on the partition selection it said there was no operating system on the HDD.

6. Installed again, restarted, then was asked if I wanted to start windows normally, safe mode, etc... (after ubuntu said no OS existed???)

bottom line - i'm just plain confused. anyway, there's no big priority riding on this or anything. yeah, it'd be nice to be completely open-source as i'm a heavy blender, gimp, inkscape user but this is mainly for exploratory purposes. again, i dig what i see from running the cd and would love to be able to use the desktop (faster than my only other computer, too) it's going to be installed on but if you guys have any other users with actual, pressing issues i won't be offended if this takes some time.

thanks a lot in advance

jstephens84 05-01-2010 06:59 PM

Not sure what you are taking for options but if you want only linux, have you used the options that say use the entire hard disk during installation? If not I would try that. That should wipe the whole drive and make it a linux only machine.

also can you provide some exact errors that you are seeing?

brucehinrichs 05-01-2010 07:15 PM

Welcome to LQ! What kind of machine is this? If you could provide vendor (e.g. gateway, dell), model number, motherboard, CPU, RAM, and any other specs you have it would be a good place to start. Also, if you boot into the liveCD, open a terminal (Applications>Accessories>Terminal), type
Code:

lspci -vv
and post the results here, that would help as well.

atmega-ist 05-01-2010 07:38 PM

wow - most impressed with the quick responses!

brucehinrichs -

HP d530c, pentium 4, 2.66 processor, 1.5Gb RAM. what specific information do you need about the motherboard (excuse the elementary nature of the question...)

here are the results of the command line you suggested:

Code:

00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
        Subsystem: Hewlett-Packard Company Device 12bc
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
        Latency: 0
        Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: <access denied>
        Kernel driver in use: agpgart-intel
        Kernel modules: intel-agp

00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
        Subsystem: Hewlett-Packard Company Device 12bc
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx+
        Latency: 0
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
        Region 1: Memory at fc400000 (32-bit, non-prefetchable) [size=512K]
        Region 2: I/O ports at 24e0 [size=8]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface (rev 02)
        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Region 0: Memory at fecf0000 (32-bit, non-prefetchable) [size=4K]

00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
        Subsystem: Hewlett-Packard Company Device 12bc
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 16
        Region 4: I/O ports at 2440 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
        Subsystem: Hewlett-Packard Company Device 12bc
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin B routed to IRQ 19
        Region 4: I/O ports at 2460 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
        Subsystem: Hewlett-Packard Company Device 12bc
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin C routed to IRQ 18
        Region 4: I/O ports at 2480 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) (prog-if 20)
        Subsystem: Hewlett-Packard Company Device 12bc
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin D routed to IRQ 23
        Region 0: Memory at fc480000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <access denied>
        Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=64
        I/O behind bridge: 00001000-00001fff
        Memory behind bridge: fc500000-fc7fffff
        Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Kernel modules: shpchp

00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Kernel modules: iTCO_wdt, intel-rng

00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
        Subsystem: Hewlett-Packard Company Device 12bc
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 18
        Region 0: I/O ports at 01f0 [size=8]
        Region 1: I/O ports at 03f4 [size=1]
        Region 2: I/O ports at 0170 [size=8]
        Region 3: I/O ports at 0374 [size=1]
        Region 4: I/O ports at 24c0 [size=16]
        Region 5: Memory at 60000000 (32-bit, non-prefetchable) [size=1K]
        Kernel driver in use: ata_piix

00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02) (prog-if 8f [Master SecP SecO PriP PriO])
        Subsystem: Hewlett-Packard Company Device 12bc
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 18
        Region 0: I/O ports at 24f8 [size=8]
        Region 1: I/O ports at 2810 [size=4]
        Region 2: I/O ports at 2800 [size=8]
        Region 3: I/O ports at 2814 [size=4]
        Region 4: I/O ports at 24d0 [size=16]
        Kernel driver in use: ata_piix

00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
        Subsystem: Hewlett-Packard Company Device 12bc
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin B routed to IRQ 5
        Region 4: I/O ports at fc00 [size=32]
        Kernel modules: i2c-i801

00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
        Subsystem: Hewlett-Packard Company Device 12bc
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin B routed to IRQ 17
        Region 0: I/O ports at 2000 [size=256]
        Region 1: I/O ports at 2400 [size=64]
        Region 2: Memory at fc480400 (32-bit, non-prefetchable) [size=512]
        Region 3: Memory at fc480600 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
        Kernel driver in use: Intel ICH
        Kernel modules: snd-intel8x0

05:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5782 Gigabit Ethernet (rev 03)
        Subsystem: Hewlett-Packard Company Device 12bc
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64 (16000ns min), Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 20
        Region 0: Memory at fc500000 (64-bit, non-prefetchable) [size=64K]
        Expansion ROM at <ignored> [disabled]
        Capabilities: <access denied>
        Kernel driver in use: tg3
        Kernel modules: tg3

05:04.0 Serial controller: Siig Inc CyberSerial (1-port) 16550 (prog-if 02)
        Subsystem: Siig Inc CyberSerial (1-port) 16550
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 16
        Region 0: I/O ports at 1400 [size=8]
        Capabilities: <access denied>
        Kernel driver in use: serial

05:09.0 Serial controller: 3Com Corp, Modem Division 56K FaxModem Model 5610 (rev 01) (prog-if 02)
        Subsystem: 3Com Corp, Modem Division Device 00d3
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 18
        Region 0: I/O ports at 1408 [size=8]
        Capabilities: <access denied>
        Kernel driver in use: serial

05:0a.0 Communication controller: Agere Systems LT WinModem (rev 02)
        Subsystem: Askey Computer Corp. Device 1515
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 66 (63000ns min, 3500ns max)
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at fc510000 (32-bit, non-prefetchable) [size=256]
        Region 1: I/O ports at 1410 [size=8]
        Region 2: I/O ports at 1000 [size=256]
        Capabilities: <access denied>

jstephens84 -

I'll try the reinstall over the whole disc now.

Thanks a lot

atmega-ist 05-01-2010 08:15 PM

I've reinstalled with selecting to use the entire disc, set my boot order back to HDD as first device and these are the following messages:

Code:

Attempting to boot from hard drive (C:)

1099-Master boot record has changed
Press any key to enter setup to restore the MBR

I then follow the instructins and select "Restore MBR' in my setup and restart.

I'm then brought to the black, command-prompt style screen which apologizes for windows not starting correctly and gives me the options of starting normally, last good configuration, safe mode, etc... I selected "Boot Windows Normally" to see what would happen but it just went back into the boot loop as before.

Thanks and let me know what else you need.

brucehinrichs 05-01-2010 08:16 PM

If you don't know the motherboard info, no sweat (for now). I was asking for any info you might have. I don't see anything that looks odd so far, so I would try reinstalling (as jstephens84 said). Give it another try, and post back.

atmega-ist 05-01-2010 08:22 PM

brucehinrichs -

I actually just tried the reinstall again but to no avail. is it possible i could have downloaded the incorrect version or something? i followed the links right on the front of ubuntu's page but could there be something else I missed? i just can't figure out what's making it crawl through the install as if it's actually writing files and then acting like nothing's there...

really appreciate you guys helping out

jstephens84 05-01-2010 08:23 PM

Quote:

Originally Posted by atmega-ist (Post 3954249)
I've reinstalled with selecting to use the entire disc, set my boot order back to HDD as first device and these are the following messages:

Code:

Attempting to boot from hard drive (C:)

1099-Master boot record has changed
Press any key to enter setup to restore the MBR

I then follow the instructins and select "Restore MBR' in my setup and restart.

I'm then brought to the black, command-prompt style screen which apologizes for windows not starting correctly and gives me the options of starting normally, last good configuration, safe mode, etc... I selected "Boot Windows Normally" to see what would happen but it just went back into the boot loop as before.

Thanks and let me know what else you need.

ok lets do this. When you boot into the live cd, open up a command prompt / terminal. You can get to the by going to Applications->Accessories->Terminal. once you get their type in
Code:

sudo fdisk /dev/sda
if that doesn't work then type in

Code:

sudo fdisk -l
Here is what I get when I type it in.
Code:

bsdtux@bsdtux-desktop:~$ sudo fdisk -l
[sudo] password for bsdtux:
\
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002958e

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1      60051  482358272  83  Linux
/dev/sda2          60052      60802    6026241    5  Extended
/dev/sda5          60052      60802    6026240  82  Linux swap / Solaris

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x44fdfe06

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1              1      60801  488384001    7  HPFS/NTFS

Disk /dev/sdc: 410 MB, 410910720 bytes
13 heads, 61 sectors/track, 1012 cylinders
Units = cylinders of 793 * 512 = 406016 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

  Device Boot      Start        End      Blocks  Id  System

Disk /dev/sdf: 10 MB, 10485760 bytes
1 heads, 20 sectors/track, 1024 cylinders
Units = cylinders of 20 * 512 = 10240 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

  Device Boot      Start        End      Blocks  Id  System

what you want to look for is the Disk that corresponds to your hard drive size. The rerun the fdisk command

once you are there delete all the partitions then write the partition table back. then exit the terminal and try the install again.

brucehinrichs 05-01-2010 08:31 PM

I think something in the BIOS is reconstructing your windoze mbr. I haven't heard of this before; hopefully someone else has. I'll do some looking and check back.

atmega-ist 05-01-2010 08:33 PM

jstephens84 -

here's a snapshot of my terminal with both attempts:

Code:

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu@ubuntu:~$ sudo fdisk /dev/sda

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
        switch off the mode (command 'c') and change display units to
        sectors (command 'u').

Command (m for help): sudo fdisk -1
Building a new sun disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.


Command (m for help):

should i go ahead and delete the partition table and try again anyway?

thanks

brucehinrichs -

thanks a lot for doing that. i'll keep an eye out.

jstephens84 05-01-2010 08:41 PM

When you get to that prompt if you can type p to print out the list of partitions if you can? but yes go ahead and delete All the partitions.

what this should do is clear all data off the partition. if that does not work we will go the the last resort which will be to use the dd command to write zeros to the whole hard disk which will make it as if it was straight from the factory.

atmega-ist 05-01-2010 08:42 PM

jstephens84 -

on it.

also - here are the results of the "p" selection (sorry - probably should've derived that on my own)

Code:

ubuntu@ubuntu:~$ sudo fdisk /dev/sda

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
        switch off the mode (command 'c') and change display units to
        sectors (command 'u').

Command (m for help): p

Disk /dev/sda: 40.0 GB, 40020664320 bytes
240 heads, 63 sectors/track, 5169 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x06c9b68f

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1        5169    39077608+  7  HPFS/NTFS

Command (m for help):


atmega-ist 05-01-2010 08:52 PM

just initiated install after creating a new partition table. it told me i needed to have a root partition so i only added that before continuing. hope this was ok

jstephens84 05-01-2010 09:01 PM

Quote:

Originally Posted by atmega-ist (Post 3954270)
just initiated install after creating a new partition table. it told me i needed to have a root partition so i only added that before continuing. hope this was ok

Yes that is what you want. The root partition is the top partition. or when / as most people know it. Sounds like things are progressing better.

atmega-ist 05-01-2010 09:05 PM

upon completion of the reinstall on the blank partition i'm presented with the same master boot record error from before. should i go into setup and restore it or is there something else i should try? of course last time the error was thrown i wasn't on a new partition so is there a chance that a restoration could solve it this time? just want to be sure before proceeding


All times are GMT -5. The time now is 10:29 AM.