 |
|
 |
|
|
 |
Newbie: Debian install to existing partitions |
 |
 |
|
|
07-15-07 06:13 PM
Apologies if this is the wrong group. Having used various Live-CD
Linuxes for a while (each separate LiveCD 'image' stored on disc in
separate filenames and selected via Grub running under DOS), wanted to
take the plunge and install a 'proper' distro, so downloaded Deb ISOs
1 - 5. Started with the automatic installer on ISO 1 but hit two
problems; thought I'd solved the first, but not sure how to solve the
second.
Prob 1: Wanted to install to an existing partition (hdb4 ext2, 8GB),
without overwriting a little data held there, so didn't let the
installer repartition or reformat. It seemed to install fully into
that partition. There are many, many files and directories there
(inspected through a LiveCD). Assuming that's ok, for now.
Prob 2: Didn't let the installer install a new (or overwrite my
existing) Grub setup (just caution - I use Grub under DOS and wasn't
sure the installer would leave that existing arrangement in place).
But, on completion didn't know how to correctly create a Grub menulist
entry for Debian on hdb4 and after looking at the contents of hdb4
guessed at:
title Debian 4 from hdb4 ext2
kernel (hd1,3)/vmlinuz root=/dev/hdb4
initrd (hd1,3)/initrd.img
boot
When selecting this grub entry, Debian does start as far as I can
tell, but only comes up into a Linux prompt, not into a window
manager. (Should it? - I've both Gnome and KDE ISOs and used the
Gnome ISO.) Guessing that apart from anything else my Grub entry is
incorrect, could anyone point me to a reference for what the Grub
entry should be for Debian on hdb4? Though familiar-ish with Grub, I
do not know what a 'proper' Debian boot sequence should be, and I
couldn't see that in the installation notes.
Grateful for any pointers,
______________
regards,
Ron
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Newbie: Debian install to existing partitions |
 |
 |
|
|
07-16-07 12:14 AM
On Sun, 15 Jul 2007 15:18:32 GMT,
Ronnie <me@privacy.net> wrote:
> When selecting this grub entry, Debian does start as far as I can
> tell, but only comes up into a Linux prompt, not into a window
> manager. (Should it? - I've both Gnome and KDE ISOs and used the
> Gnome ISO.) Guessing that apart from anything else my Grub entry is
> incorrect, could anyone point me to a reference for what the Grub
> entry should be for Debian on hdb4? Though familiar-ish with Grub, I
> do not know what a 'proper' Debian boot sequence should be, and I
> couldn't see that in the installation notes.
If you get to a Linux prompt, then the problem is not with grub.
See what happens if you type "startx".
If you get a message that states the command wasn't found, then you're
probably missing packages, unless you're confusing the grub prompt
with the linux prompt.
If startx works, you may want to try:
sudo aptitude install gdm
If this doesn't help, you'll probably want to post exactly what
appears on your screen.
HTH,
Michael C.
--
mjchappell@verizon.net http://mcsuper5.freeshell.org/
"You know, I used to think it was awful that life was so unfair.
Then I thought, wouldn't it be much worse if life were fair,
and all the terrible things that happen to us come because we
actually deserve them?" - Marcus Cole
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Newbie: Debian install to existing partitions |
 |
 |
|
|
07-16-07 12:13 PM
[edit]
>
> sudo aptitude install gdm
>
> If this doesn't help, you'll probably want to post exactly what appears on
> your screen.
>
> HTH,
>
> Michael C.
Michael, does a default install of Debian put the user in the sudoers or
are you thinking of a different distro?
Rodney
[ Post a follow-up to this message ]
|
|
|
 |
|
|
|
 |
Re: Newbie: Debian install to existing partitions |
 |
 |
|
|
07-16-07 06:13 PM
On Mon, 16 Jul 2007 03:53:10 -0700,
Rodney <me@127.0.0.1> wrote:
> [edit]
>
> Michael, does a default install of Debian put the user in the sudoers or
> are you thinking of a different distro?
I don't believe debian does add a user to sudo automatically.
"/etc/sudoers" is pretty well commented. man visudo.
Michael C.
--
mjchappell@verizon.net http://mcsuper5.freeshell.org/
We're from the government, we're here to help.
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Newbie: Debian install to existing partitions |
 |
 |
|
|
07-17-07 12:13 AM
On Sun, 15 Jul 2007 19:29:42 GMT, "Michael C."
<mjchappell@verizon.net> wrote:
>If you get to a Linux prompt, then the problem is not with grub.
>
I guess that's true - I think I wanted to make sure that it hadn't
needed some extra parameter to initiate the graphical argument. But
your other advice shows that truly, Grub is not my problem.
>See what happens if you type "startx".
>
>If you get a message that states the command wasn't found, then you're
>probably missing packages
That's just what i got. As i did trying mc (midnight commander?) and
minicom.
> unless you're confusing the grub prompt with the linux prompt.
>
No - it's a linux prompt, and I can log in with either a username or
as root. (But I can only reboot from root).
I guess I hadn't really solved the problem of installing to an
existing partition. There is a large directory tree with lib and etc
and mnt and things like that, so something got installed.
I'd like to try again with the CD. I wonder if there's a way to
install that keeps a log of what happens so that I could pinpoint what
is failing?
And thanks for the help, at least I know what's happened, even though
unsure why.
______________
regards,
Ron
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Newbie: Debian install to existing partitions |
 |
 |
|
|
07-17-07 12:13 AM
On Sun, 15 Jul 2007 19:29:42 GMT, "Michael C."
<mjchappell@verizon.net> wrote:
>If this doesn't help, you'll probably want to post exactly what
>appears on your screen.
Just retried, selected existing partition, it reformatted the swap and
set off. Gets about 77% through, then fails while 'installing the
base system'. I press alt-F4 and a text screen suggests a failure
setting up initramfs tools, exactly at the point 'console - tools '
This is after it asks me which kernel I want - it pre-selects 2.6 -
486 and, with an AMD Athlon, I accept that because it is presumably
486 compatible. (However, the AltF4 screen says at the point of
failure is trying to build an img(?) for 2.6.18-486 which was another
option on the screen but which I didn't accept.) If there's a way to
get more text detail I'd happily do that, but I am a bit out of my
depth here.
Although it mutters about having to re-install over the existing files
of a previous installation, I sense that there's a more fundamental
problem than just being unable to overwrite a file. Presumably the
installer accretes to itself enough authority to create and overwrite
all the files and directories it needs to?
______________
regards,
Ron
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Newbie: Debian install to existing partitions |
 |
 |
|
|
07-17-07 06:14 AM
Government satellites recorded Michael C. saying:
>
> I don't believe debian does add a user to sudo automatically.
> "/etc/sudoers" is pretty well commented. man visudo.
>
You are correct as far as Etch is concerned. I edited the file and
added myself - had to logout and in again to make it affective tho'.
I later removed my user from the list 'cause I decided to make my
user have a limited command control but have been too busy to learn
what I need to do to set only a few commands to a user via sudo.
That's an aside ... you are correct tho'.
--
sk8r-365
http://goodbye-microsoft.com/
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Newbie: Debian install to existing partitions |
 |
 |
|
|
07-17-07 06:13 PM
On Mon, 16 Jul 2007 17:53:21 +0000, Michael C. wrote:
> On Mon, 16 Jul 2007 03:53:10 -0700,
> Rodney <me@127.0.0.1> wrote:
>
> I don't believe debian does add a user to sudo automatically.
> "/etc/sudoers" is pretty well commented. man visudo.
>
> Michael C.
That was my point, you suggested something that would not have worked.
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Newbie: Debian install to existing partitions |
 |
 |
|
|
07-17-07 06:13 PM
On Mon, 16 Jul 2007 22:34:15 -0600, sk8r-365 wrote:
> Government satellites recorded Michael C. saying:
>
>
> You are correct as far as Etch is concerned. I edited the file and added
> myself - had to logout and in again to make it affective tho'.
>
> I later removed my user from the list 'cause I decided to make my user
> have a limited command control but have been too busy to learn what I need
> to do to set only a few commands to a user via sudo. That's an aside ...
> you are correct tho'.
I think that is a wise choice, there is some security risk with that
all:all stuff that some distros use for users.
Rodney
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Newbie: Debian install to existing partitions |
 |
 |
|
|
07-17-07 06:13 PM
On Mon, 16 Jul 2007 20:48:19 +0000, Ronnie wrote:
> On Sun, 15 Jul 2007 19:29:42 GMT, "Michael C." <mjchappell@verizon.net>
> wrote:
>
>
> Just retried, selected existing partition, it reformatted the swap and set
> off. Gets about 77% through, then fails while 'installing the base
> system'. I press alt-F4 and a text screen suggests a failure setting up
> initramfs tools, exactly at the point 'console - tools '
>
> This is after it asks me which kernel I want - it pre-selects 2.6 - 486
> and, with an AMD Athlon, I accept that because it is presumably 486
> compatible. (However, the AltF4 screen says at the point of failure is
> trying to build an img(?) for 2.6.18-486 which was another option on the
> screen but which I didn't accept.) If there's a way to get more text
> detail I'd happily do that, but I am a bit out of my depth here.
>
> Although it mutters about having to re-install over the existing files of
> a previous installation, I sense that there's a more fundamental problem
> than just being unable to overwrite a file. Presumably the installer
> accretes to itself enough authority to create and overwrite all the files
> and directories it needs to?
>
Ron, it might be worthwhile to just copy the data you want to save
somewhere else and let the installer format the partition, then copy your
data back after the install. You're not running out of room on that
partition during the install are you?
Rodney
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
|
Sponsored Links |
 |
 |
|
|
 |
All times are GMT. The time now is 04:52 AM. |
 |
|
|
 |
|
 |
|
|
 |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
|
|
|
|
Medical and Health forum | Computer Games Reviews | Graphics design forum
|
 |
|
 |
|