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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
07-05-2007, 10:27 AM
|
#16
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep:
|
You seems to be moving the goal posts while we are trying to understand your original problem.
Your propblem reported in Post #12 could be due not rebooting the machine after you had changed the partition table, especially when a foreign system (to Linux) is involved.
If you want to install Ubuntu in sdb , or any distro, just boot up the Ubuntu and use it as a Live CD. Use its cfdisk program, by command "sudo cfdisk /dev/sdb", to make two partition of sdb1 (10Gb) and sdb2 (1Gb), alter the partition type from 83 to 82 for sdb2, highlight "write", press retuen, exit cfdisk and type at terminal "sudo reboot".
After a reboot click hard disk installation and tell the installer you want Ubuntu installed in sdb1. This may require you highlight sdb1, edit it as the mounting pont for "/", select a filing system like Ext3, click "format" and the "OK".
I never had any problem if I had a partition arranged for installing any distro. Every installer will just get on with it and know what to do with the swap.
You should meet no resistance if you install Slackware.
|
|
|
07-05-2007, 12:37 PM
|
#17
|
Member
Registered: Oct 2003
Posts: 136
Original Poster
Rep:
|
No I'm just showing the results I get when I try different stuff. The problem, which has been the same from the start, is that I can't install Linux on my IDE harddrive (hdb) which was probably caused by connecting an external usb harddrive earlier.
The Windows XP cd can change partitions and installs fine, the linux cd's can't change partitions and won't install.
It's not sda or sdb that I want to install to so forget those, both disks are full with stuff that I want to keep.
|
|
|
07-15-2007, 11:42 AM
|
#18
|
Member
Registered: Oct 2003
Posts: 136
Original Poster
Rep:
|
bump and 10 characters
|
|
|
07-15-2007, 12:07 PM
|
#19
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep:
|
I don't really understand what problem you have got.
Why you keep wanting to install Linux into (hdb)?
Your post #6 tells us you have no hdb! Linux with kernel 2.6.20 and later see all IDE/Pata disk same as Sata and call them sda, sdb, sdc etc. Is this your problem, that you must use hdb name?
You can, just get hold of an older Linux with kernel older than 2.6.20.
|
|
|
07-16-2007, 04:39 PM
|
#20
|
Member
Registered: Oct 2003
Posts: 136
Original Poster
Rep:
|
I want to install Linux into hbd because that's the harddrive I've been using for the operating system and my other two harddrives are comletely full. Post #6 clearly shows that I *do* have hdb.
Code:
Disk /dev/hdb: 40.0 GB 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 4864 39070048+ 7 HPFS/NTFS
The problem isn't that I have to use the hdb name but that hdb is the harddrive I want to use. I've tried to install Ubuntu Dapper Drake, Ubuntu Feisty Fawn, Slackware 10, Debian Etch, nothing works. I can only install Windows XP on the harddrive. The Linux cd's can't even reformat the harddrive, something the Windows XP cd can.
|
|
|
07-16-2007, 05:36 PM
|
#21
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep:
|
Are you missing something here by saying you can't format the drive?
Your hard disk has a ntfs partition occupying the the entire 40Gb. Therefore to install a Linux you need boot up a Linux Live CD to
(1) Delete the hdb1, just use terminal command "su", then "cfdisk /dev/hdb", highlight the partition and click "delete".
(2) Create two partitions, one 10Gb and another 1Gb, which will be hda1 and hda2 if primaries or hd6 and hda7 if they are logicals. Either way or in any combination. When you create a partition in a Linux Live CD it will automatically be Type 83 which is suitable for Linux. (NTFS is Type 7 and is NOT suitable for Linux installation) You highlight hda2 and select "type" to make it Type No. 82 for being a swap.
(3) highlight "write" and confirmed again with "yes". When done highlight "quit" and press return to leave cfdisk.
(4) Go for a reboot and you will find every Linux can be installed in hda1.
You don't format the partition. You leave it to the installer. The idea is you select hda1, ask it to be formatted in ext3 and mounted as "/" and the installer will put everything inside.
Last edited by saikee; 07-16-2007 at 05:39 PM.
|
|
|
07-17-2007, 02:10 AM
|
#22
|
Member
Registered: Oct 2003
Posts: 136
Original Poster
Rep:
|
Nope, I've installed Linux several times on that harddrive, probably about 50 times, it's just that I can't do it anymore and it seems like connecting an external usb harddrive once is the cause. I can't think of anything else because that's when it started acting weird. And I don't understand where the problem actually is considering that I've changed both the MBR and partitions several times since then using the Windows XP disc so nothing that was on it before that could have messed things up should be there now.
That's exactly what I've been trying, in post #12 I write about using cfdisk which managed to change the partitions but when I get to the installer I still get the same problem.
|
|
|
07-17-2007, 03:00 AM
|
#23
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep:
|
Can you create the partitions as suggested first and post the output "fdisk -l" here?
Then try to install Ubuntu and let us know exactly which step you have a problem with.
|
|
|
01-15-2008, 03:09 AM
|
#24
|
LQ Newbie
Registered: Jan 2008
Posts: 2
Rep:
|
Hi! Did you ever get this problem solved? I'm having very similar trouble installing Ubuntu 7.10 to a USB flash drive. It has worked with one 1 GB flash drive, but I'm having trouble installing it to a new 4 GB drive. I've seen the same kind of I/O error messages, and the "The attempt to mount a file system failed" message from Ubuntu's GUI installer on the live CD.
|
|
|
All times are GMT -5. The time now is 04:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|