Gentoo Forums
Gentoo Forums
Quick Search: in
Can I shutdown?
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
donde
n00b
n00b


Joined: 21 Jan 2006
Posts: 17

PostPosted: Sat Jan 21, 2006 2:33 pm    Post subject: Can I shutdown? Reply with quote

Does the computer have to up through the whole install? I shutdown and seem to have lost everything below /mnt/gentoo (before chroot). This is my third attemped install. A couple of my errors. At Copy DNS, got "do you want to overwrite?" Said yes, and blew away Compile Options, except DNS. Why did this happen? Made a new one manually. Got to 6a, chroot and decided to do shutdown. Restarted later, and see everything below gentoo gone, which I guees is normal after chroot. But, could not find make.conf anywhere with a find. Maybe, it was in /boot on the HD. Didn't think of that. Could not do emerge 'file not found'. Just got mad and quit. put Mepis on, just to see if HD OK. Do want to get back to Gentoo, but now very tired the way install is going. I need some encouragement.
donde
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 21680
Location: 56N 3W

PostPosted: Sat Jan 21, 2006 3:02 pm    Post subject: Reply with quote

donde,

Welcome to gentoo. Yes, you can shutdown in the middle of your install as many times as you need to.
You use the same process as I will describe to fit it when it won't boot too, so you will use the process several times.

To recover/contine, boot with the liveCD, now follow the handbook up to and including the chroot and the following two environment setting commands with two important exceptions.
1. Skip the section on using fdisk to partition your drive
2. Skip the section on making filesystems on your partitions.
Your partitions are made and formatted already, doing it again will destroy what you have already done.

You are now back in your install where you left off. If you were doing an emerge,
Code:
emerge --resume
will carry on from the start of the package in progress when you shut down.

It is possible to make a mess of things by interrupting the install phase of a package, so avoid shutting down when you can see Installing scrolling up the screen.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
donde
n00b
n00b


Joined: 21 Jan 2006
Posts: 17

PostPosted: Sat Jan 21, 2006 3:35 pm    Post subject: Reply with quote

Thanks for reply. What do you mean by the 2 evnironment settings commands? I must have missed that.
donde
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 21680
Location: 56N 3W

PostPosted: Sat Jan 21, 2006 3:59 pm    Post subject: Reply with quote

donde,

The two commands in the handbook just after
Code:
chroot /mnt/gentoo /bin/bash


Here
Code:
# chroot /mnt/gentoo /bin/bash
# env-update
 * Caching service dependencies...
# source /etc/profile

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
donde
n00b
n00b


Joined: 21 Jan 2006
Posts: 17

PostPosted: Sat Jan 21, 2006 4:57 pm    Post subject: Reply with quote

Can I do these commands at any new reboot to bring back environment where I left off?

What does the + mean in the Blocks column of fdisk? Mine is lined up with hda2, not hda1.
Is this of concern?

donde
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 21680
Location: 56N 3W

PostPosted: Sat Jan 21, 2006 6:59 pm    Post subject: Reply with quote

donde,

Yes - any time.
At the end of the command sequence, when you are in the chroot, your own install, in whatever state it is, is running on top of the LiveCD kernel. You use this command sequence when you have done something to stop your Gentoo from booting on its own too, so keep your liveCD handy even after the install.

I don't know what the + symbol means in fdisk -l
I have lots of them.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
donde
n00b
n00b


Joined: 21 Jan 2006
Posts: 17

PostPosted: Sat Jan 21, 2006 7:57 pm    Post subject: Reply with quote

Neddy
Thanks, I'll keep what said in my notes, and hope start again with fresh outlook.

I've been looking about the plus symbol in fdisk. I believe it stands for boot order. If this is true, hda2 (swap) on my partitions would try to boot first, and then eventually get to hda1 (boot). I suppose this would work.

donde
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 21680
Location: 56N 3W

PostPosted: Sat Jan 21, 2006 8:32 pm    Post subject: Reply with quote

donde,

Nope its not that.
Code:
    Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1           5       40131   fd  Linux raid autodetect
/dev/sda2               6         130     1004062+  82  Linux swap / Solaris
/dev/sda4             131       36483   292005472+   5  Extended
/dev/sda5             131         739     4891761   fd  Linux raid autodetect
/dev/sda6             740        4387    29302528+  fd  Linux raid autodetect
/dev/sda7            4388        4631     1959898+  fd  Linux raid autodetect
/dev/sda8            4632        5361     5863693+  fd  Linux raid autodetect
/dev/sda9            5362        7307    15631213+  fd  Linux raid autodetect
/dev/sda10           7308       36483   234356188+  fd  Linux raid autodetect
The bootable flag is the * and thats ignored by most systems today
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
donde
n00b
n00b


Joined: 21 Jan 2006
Posts: 17

PostPosted: Sat Jan 21, 2006 8:42 pm    Post subject: Reply with quote

Needy

You said: The bootable flag is the * and thats ignored by most systems today

Do you mean: The bootable flag is the * and the + is ignored by most systems today?

donde
Back to top
View user's profile Send private message
slycordinator
Veteran
Veteran


Joined: 31 Jan 2004
Posts: 3015
Location: Houston, TX

PostPosted: Sat Jan 21, 2006 9:12 pm    Post subject: Reply with quote

donde wrote:
Needy

You said: The bootable flag is the * and thats ignored by most systems today

Do you mean: The bootable flag is the * and the + is ignored by most systems today?

donde


No.

The * is the bootable flag; it marks which partition is "bootable." It used to be that the MBR would just search for the partition marked bootable and would boot from that.
Like if you do "fdisk -l" it should have a * underneath the part that says "Boot" which marks which is the bootable partition; though grub/lilo don't need a bootable partition. Though windows only boots if it's on a bootable partition.

And the fdisk manpage says nothing about the "+" so I can't figure out what it means.
Back to top
View user's profile Send private message
donde
n00b
n00b


Joined: 21 Jan 2006
Posts: 17

PostPosted: Sat Jan 21, 2006 9:32 pm    Post subject: Reply with quote

OK

I'll drop dwelling on it. You explained it very well. Have a good weekend. Think I'll start again on Monday. I'm trying to put Gentoo on VIA EPIA M10000. Any comments on this MB would be helpfull. As you can see, I'm pretty much a Linux newbie, but giving it a go.

donde
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum