LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installation problem (https://www.linuxquestions.org/questions/linux-newbie-8/installation-problem-4175561619/)

sycamorex 12-19-2015 03:13 AM

Quote:

Originally Posted by davholla (Post 5466251)
When I boot I get
"Boot from ANHI CD-ROM
error no such device: 5(lots of numbers)
Entering rescue mode...
grub resecue>

1. Is your CD/DVD Rom working properly (was it working ok before)?
2. Try googling for your laptop model and boot menu (which key opens a boot menu - on mine it's F12 I think but it may vary). When booting the computer with an installation disk in a CD/DVD ROM, you press/hold the boot menu key to get a list of possible devices to boot from. Then you'd choose your CD/DVD rom.

3. You say it's an old laptop, are you sure it has a DVD-rom as well, perhaps it's just a CD-rom.

davholla 12-19-2015 05:52 AM

It was working on Wednesday when I started this process. I could run Kubuntu from DVD then.

davholla 12-19-2015 05:57 AM

This is what the grub prompt gives me
Code:

ls
(hdo0)(hd0,msdos2)(hd0,msdos3)(hd0,msdos2)(hd0,msdos1)(hd1)(hd1,msdos3)(hd1,msdos2)(hd1,msdos1)

I hope that means something to someone

sycamorex 12-19-2015 05:58 AM

As I said before try to find out which function key on your laptop will bring up the boot menu so you can boot oof the install DVD.

davholla 12-19-2015 06:32 AM

Quote:

Originally Posted by sycamorex (Post 5466308)
As I said before try to find out which function key on your laptop will bring up the boot menu so you can boot oof the install DVD.

It is working now (can boot into Kubuntu). Well apart from the fact that I have the original problem of not killing Vista when I do the install

davholla 12-19-2015 06:41 AM

Now the issue is that the Disk setup (which is unusual in my experience) wants to wipe everything. I was hoping that it would replace the Linux Mint (13) with Kubuntu.
Any idea on how to do this manually.
This is I think the 6th Linux install I have done and the first to be a pain like this.

davholla 12-19-2015 06:43 AM

Quote:

Originally Posted by yancek (Post 5465265)
Since it problematic to boot any Linux with a windows bootloader, you were probably using the Ubuntu Grub bootloader to boot. If you deleted the partitions on which you had the Linux (Mint, Ubuntu) boot files, you deleted almost all the boot files which is probably why you can't boot vista. When you try the install again, you might try opening a terminal when you get to the Desktop. Try running the following commands and posting the output here. This will give more details than what you copied here on your initial post.

sudo fdisk -l AND sudo parted -l (Lower case Letter L in both commands)

I get
Code:

sudo fdisk -l   
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 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 /dev/ram1: 64 MiB, 67108864 bytes, 131072 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 /dev/ram2: 64 MiB, 67108864 bytes, 131072 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 /dev/ram3: 64 MiB, 67108864 bytes, 131072 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 /dev/ram4: 64 MiB, 67108864 bytes, 131072 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 /dev/ram5: 64 MiB, 67108864 bytes, 131072 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 /dev/ram6: 64 MiB, 67108864 bytes, 131072 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 /dev/ram7: 64 MiB, 67108864 bytes, 131072 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 /dev/ram8: 64 MiB, 67108864 bytes, 131072 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 /dev/ram9: 64 MiB, 67108864 bytes, 131072 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 /dev/ram10: 64 MiB, 67108864 bytes, 131072 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 /dev/ram11: 64 MiB, 67108864 bytes, 131072 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 /dev/ram12: 64 MiB, 67108864 bytes, 131072 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 /dev/ram13: 64 MiB, 67108864 bytes, 131072 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 /dev/ram14: 64 MiB, 67108864 bytes, 131072 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 /dev/ram15: 64 MiB, 67108864 bytes, 131072 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 /dev/loop0: 1.3 GiB, 1380270080 bytes, 2695840 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: 0x5093ed3b

Device      Boot  Start    End Sectors  Size Id Type
/dev/loop0p1 *          0 2695839 2695840  1.3G  0 Empty
/dev/loop0p2      2671616 2676159    4544  2.2M ef EFI (FAT-12/16/32)


Disk /dev/loop1: 1.2 GiB, 1318973440 bytes, 2576120 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: 465.8 GiB, 500107862016 bytes, 976773168 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: 0x70000000

Device    Boot    Start      End  Sectors  Size Id Type
/dev/sda1              63    128519    128457  62.7M  6 FAT16
/dev/sda2          129024  21100543  20971520    10G  7 HPFS/NTFS/exFAT
/dev/sda3  *    21100544 497452724 476352181 227.1G  7 HPFS/NTFS/exFAT
/dev/sda4      497452786 976768064 479315279 228.6G  5 Extended
/dev/sda5      497661633 976768064 479106432 228.5G 8e Linux LVM


Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 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: 0x75e28ca9

Device    Boot    Start        End    Sectors  Size Id Type
/dev/sdb1              63    128519    128457  62.7M  6 FAT16
/dev/sdb2          128520  21109409  20980890    10G  7 HPFS/NTFS/exFAT
/dev/sdb3  *    21109410  292504254  271394845 129.4G  7 HPFS/NTFS/exFAT
/dev/sdb4      292505598 1953523711 1661018114  792G  5 Extended


davholla 12-19-2015 06:45 AM

Code:

sudo parted -l
Model: ATA WDC WD5000AAKS-7 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start  End    Size    Type      File system  Flags
 1      32.3kB  65.8MB  65.8MB  primary  fat16
 2      66.1MB  10.8GB  10.7GB  primary  ntfs
 3      10.8GB  255GB  244GB  primary  ntfs        boot
 4      255GB  500GB  245GB  extended
 5      255GB  500GB  245GB  logical  ext2        lvm


Model: ATA Hitachi HDS72101 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start  End    Size    Type      File system  Flags
 1      32.3kB  65.8MB  65.8MB  primary  fat16
 2      65.8MB  10.8GB  10.7GB  primary  ntfs
 3      10.8GB  150GB  139GB  primary  ntfs        boot
 4      150GB  1000GB  850GB  extended


Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
Error: Too many primary partitions.
Model: HL-DT-ST DVD+-RW GSA-H73N (scsi)                                 
Disk /dev/sr0: 4698MB
Sector size (logical/physical): 2048B/2048B
Partition Table: unknown
Disk Flags:


I have decided to NOT try and manually do this but leave the PC on until someone helps (the small cost of electricity is worth it, for avoiding the immense pain if I get this wrong).
I do have a laptop I can use in the meantime.


BTW I am very grateful for all the help.

BW-userx 12-19-2015 07:38 AM

Quote:

Originally Posted by davholla (Post 5466251)
When I boot I get
"Boot from ANHI CD-ROM
error no such device: 5(lots of numbers)
Entering rescue mode...
grub resecue>

check your connections, be sure you give the ROM plenty of time to spin up so it gets it up and running to get the needed information off the ROM for the PC, that maybe it too. boot into BIOS while you have your ROM inside of its drive to give it this time to read the information it needs to boot off it while manually selecting to boot from CD ROM / DVD "port" try a different usb port if that is what it is using, but my experience is it using a USB CD-Drive it needs to spin up first to get the information off it or it will not read it properly.

BW-userx 12-19-2015 07:55 AM

Quote:

Originally Posted by davholla (Post 5466325)
sudo parted -l
Model: ATA WDC WD5000AAKS-7 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 32.3kB 65.8MB 65.8MB primary fat16
2 66.1MB 10.8GB 10.7GB primary ntfs
3 10.8GB 255GB 244GB primary ntfs boot
4 255GB 500GB 245GB extended
5 255GB 500GB 245GB logical ext2 lvm

you have 245GB for Linux with a ext2 type FS you can use for swap and root / on # 5 but a 245GB root is really large actually. to try and split that up for root and (1) user then your other drive for what, home too? BUT i c that it is lvm so ....

Quote:

Originally Posted by davholla (Post 5466325)
Model: ATA Hitachi HDS72101 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 32.3kB 65.8MB 65.8MB primary fat16
2 65.8MB 10.8GB 10.7GB primary ntfs
3 10.8GB 150GB 139GB primary ntfs boot
4 150GB 1000GB 850GB extended


it says there you have 850GB to play with on # 4. extended

it tells me that you have two boots one off each HDD /dev/sda and /dev/sdb . WHY?

what windows are you wanting to keep? you got 2 Windows you're using? Y?

Can you reinstall windows too if you have to? if yes then back up everything you want to keep, mostly everything you know that you cannot replace if lost. then wipe everything, both drives.

set up all of your partitions with windows at install with the first drive. At the place it tells you if you want to create partitions, I forget the letters it tells you to use, but create at least 1 GB at begining of /dev/sda for your swap then depending on where you want windows on your HDD create pleanty of room for that to grow depending on how much you'll be using Windows with all of its 1000's of updates that take up too much space, then use the rest for Linux.

on /dev/sda you can split it up give yourself about 1GB for (root) / then the rest for /home then use /dev/sdb for storage drive just add it to your fstab after Linux install.


in like flint ;)

Install windows first get it up and running then because your partitions are already created through windows for /dev/sda then getting Linux installed should be a shinch .. ;)

yancek 12-19-2015 08:13 AM

Quote:

Now the issue is that the Disk setup (which is unusual in my experience) wants to wipe everything. I was hoping that it would replace the Linux Mint (13) with Kubuntu.
Are you using the "Manual" option under the Installation Type? Much better to use as it gives you more control. The only Linux partition you have is on the 500GB drive and it is sda5. sda5 is an LVM partition so that is the only place you Mint could be. You also have a very large Extended partition on the 1TB drive where you could create partitions on which to install if you want.

When you get the installation window, do you see the various partitions on both drives? If you do, you should select sda5 on which to install and select to format that partition. If you don't see any partitions there you've got bigger problems. Might be a bad download or a bad burn or other things. Only do that if you do NOT have any data on sda5 as formatting it will remove it for all intents and purposes. The installer for Kubuntu is basically the same as Ubuntu/Mint so you should be familiar with it.

I notice that you have windows on both partitions and it looks like two windows installations as you have partitons marked as boot on both drives. The link below has a detailed tutorial on installing Ubuntu dual boot with windows if you scroll down the page. As far as I can tell, the only difference is the first window where you see "manual" as an option rather than the standard Ubuntu "somthing else" option.

http://www.dedoimedo.com/computers/u...all-guide.html

davholla 12-19-2015 08:44 AM

1 Attachment(s)
Thanks for that (I will try to read it later as childcare is calling me away from the PC).


This is what I can see (see attachment)
Which bits should I delete

BW-userx 12-19-2015 09:04 AM

Quote:

Originally Posted by davholla (Post 5466358)
Thanks for that (I will try to read it later as childcare is calling me away from the PC).


This is what I can see (see attachment)
Which bits should I delete

your one dirve on /dev/sda is lvm
Quote:

LVM is a abstraction layer between your operating system and physical hard drives. What that means is your physical hard drives and partitions are no longer tied to the hard drives and partitions they reside on. Rather, the hard drives and partitions that your operating system sees can be any number of separate hard drives pooled together or in a software RAID.
you could install linux on your other dirve that has all of that free space in extended then install grub(2) on your MBR on /dev/sda hope it sees your 2 Windows installs, it can be fixed afterwards if needed maybe with just update-grub ...

then deal with that LVM thing that I really have no experience with -- maybe someone else does, but it seems being that it is not "real" you may have problems with it if you format it, that other dude may know more about it, but you'd think he'd have said something if he did.

the big questions is do you want a swap drive and where to put that ??? if yes. you could just split that extended and put a 1 GB swap at the begning and use the rest for your install of Linux, then after you get that going then look into that LVM to see what that is all about, if you do not know already.

if you wnat to keep them WINDOWS installs that maybe the safest way to go, Install Linux in your free space, then see what you got afterwards.

BUT IT SAYS LVM is mint -- you could just try deleting that part, it should then put that and the 106 MB together making it one 106+245=351 ish MB (GB) then reEstablish all of that as your Linux install -- instead ..

by deleting it hopefully that install setup will give you a message about the lvm what will happen if you delete it first, two, if you delete it first it will free it up to add that 106 of free space to your Linux that looks like it is ot being used for anything, just wasted space right now as it is.

then later you can Gpart that free space on /dev/sdb for Linux use and windows by making it NTFS so that both will see it and put that into your fstab for Linux,

BUT if windows is using that 106 then leave it alone then just delete that lvm part and reastableish it as linux ext4 then install Linux on that peice of cake ;) :Pengy:

OR you could just tell it to formate that LVM (mint) install then I'd make it ext4 personally, then voli'a you got Linux, MBR is set proper on that install pic /dev/sda --- so yeah -- whats the problem again?

I don't really see any. ;)

davholla 12-19-2015 09:26 AM

Thanks I think I will see what other people say

yancek 12-19-2015 12:04 PM

There are a number of possible options as you have a lot of space on sdb. If you want Kubuntu to replace the Mint install then delete sda5, the LVM partition and in that now unallocated space create a partition for the filesystem and leave 2-4GB to create a swap partition. Before doing this as I said above, you need to get any data you want off the Mint partition because formatting that partition will overwrite your data.

That would be the only partition on sda you could use. Leave the Device for bootloader installation as /dev/sda. sdb has all windows partitions except for the large space at the end of the drive in which you could create partitions to install Kubuntu. It would make more sense to install on sda and use the larger drive for data or backups.


All times are GMT -5. The time now is 10:21 PM.