LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   changing ownership : operation not permitted (https://www.linuxquestions.org/questions/linux-from-scratch-13/changing-ownership-operation-not-permitted-873909/)

druuna 04-30-2011 01:33 AM

Hi,

The int_curr_symbol is already set when choosing a locale (as the output above shows), I don't know why you added it to the export LANG=en_IN.utf8 line. Remove the INR part.

janakiramulu 04-30-2011 01:43 AM

cat > /etc/profile << "EOF"
# Begin /etc/profile
export LANG=<ll>_<CC>.<charmap><@modifiers>
# End /etc/profile
EOF
AS PER BOOK in examples,Optional modifiers currency name right [like “@euro”]
thats why i used,any way right now i am @ 7.11. Configuring the localnet Script
so ,shall go back/or what to do
can we change from here,using any command
if i do change here ,does it effect any thing

janakiramulu 04-30-2011 02:41 AM

HI DRUUNA

network card version

no network card version

which one should i use,becauze i am using lfs-livecd, in that internet is working
i open filesystem there /etc/hosts
when i open hosts folowing result

# Begin /etc/hosts

127.0.0.1 lfslivecd localhost

# End /etc/hosts
which one cat command shall i use among above 2 cat commands(

network card version

no network card version

)i typed on another system
result
janu@janu:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0f:fe:3e:e9:ee
inet addr:10.100.37.29 Bcast:10.100.39.255 Mask:255.255.252.0
inet6 addr: fe80::20f:feff:fe3e:e9ee/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3500739 errors:0 dropped:0 overruns:0 frame:0
TX packets:4609276 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1966551602 (1.9 GB) TX bytes:723099395 (723.0 MB)
Interrupt:17

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:815 errors:0 dropped:0 overruns:0 frame:0
TX packets:815 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:55482 (55.4 KB) TX bytes:55482 (55.4 KB)
what to do

druuna 04-30-2011 02:48 AM

Quote:

Originally Posted by janakiramulu (Post 4341639)
AS PER BOOK in examples,Optional modifiers currency name right [like “@euro”]
thats why i used

As stated in the book: Optional modifiers such as “@euro” may also be present. Not needed in this case.

Quote:

so ,shall go back/or what to do
I already told you what to do.....

Quote:

can we change from here,using any command
This I also already told you.....

A while back I stopped answering your posts due to lack of knowledge on your side and you not following the book. Seeing that you made it all the way up to chapter 7.8 without any help from the LQ community I though you would have a better understanding of what is going on. But if I look at your last replies (#47 and #48) I do wonder if that is true......

druuna 04-30-2011 02:51 AM

Quote:

Originally Posted by janakiramulu (Post 4341675)
network card version

no network card version

which one should i use,becauze i am using lfs-livecd, in that internet is working

You do seem to have a working network card. Pick the correct sections from the book.

janakiramulu 05-01-2011 02:43 AM

hi druuna
i removed INR in LANG variable as said i redo ,now i am @8.4. Using GRUB to Set Up the Boot Process
[in my system windows was installed ie /dev/sda1,extended partition drive ie /dev/sda2,and under extended 2 logical partitions so one logical partiton is-lfs-/dev/sda6,second logical partition-lfs swap-/dev/sda7]

8.4.1. Introduction
cd /tmp
grub-mkrescue --output=grub-img.iso
dd if=grub-img.iso of=/dev/fd0 bs=1440 count=1
i dont have floppy/blank cd
i want .iso file to usb drive
so i did like below
first i mounted pendrive to /lfs/home dir
cd /tmp
grub-mkrescue --output=grub-img.iso
dd if=grub-img.iso of=/dev/sdb1 bs=1440 count=1(bcz usb drive is-sdb1)
when i see in home dir ,there is no any .iso files
whats wrong

druuna 05-01-2011 03:10 AM

Hi,

I don't see any mention in the book that a usb stick can be used....... Using a usb stick might be possible, but this topic is out of scope here.

Use a floppy or a cd (or skip this step all together and use the liveCD for emergencies/rescue).

janakiramulu 05-01-2011 03:14 AM

right now i dont have what to do
so if i skip all below
cd /tmp
grub-mkrescue --output=grub-img.iso
dd if=grub-img.iso of=/dev/fd0 bs=1440 count=1
nothing wrong in further right?
--------------------------------

shall run next commands
grub-mkdevicemap --device-map=device.map
cat device.map

janakiramulu 05-01-2011 03:48 AM

8.4.3. Testing the Configuration
 
hi druuna
i run
root:/sources/linux2.6.35.4# /sbin/reboot

...
grub> root (hd0,1)
grub> kernel /boot/grub/core.img
grub> boot
its rebooted fast
and came as it is @ first(when we use first lfs livecd -screen)
help me

janakiramulu 05-01-2011 04:15 AM

i want run this below commands
/sbin/reboot
...
grub> root (hd0,1)
grub> kernel /boot/grub/core.img
grub> boot
now i am seeing screen(when we use lfs-live cd)
i will give result of above commands

janakiramulu 05-01-2011 04:41 AM

/sbin/reboot
...
grub> root (hd0,1)
grub> kernel /boot/grub/core.img
grub> boot

after running above commands its rebooted and some text lines appeared
and automatically booted from lfs-livecd(cd didnt come out)

druuna 05-01-2011 05:18 AM

Quote:

Originally Posted by janakiramulu
partiton is-lfs-/dev/sda6

grub> root (hd0,1)

Why are you using (hd0,1)? Re-read 8.4.1.

Quote:

Originally Posted by janakiramulu
and some text lines appeared

Which lines, or do you expect us to be psychic?

janakiramulu 05-01-2011 05:24 AM

thanks reply i am very sorry i didnt see that mine was sda

now system is booted from lfs-livecd
what to do now plz tell me
how to run 8.4.3. Testing the Configuration in my case

janakiramulu 05-01-2011 05:42 AM

hi druuna
structure for drives and partitions in the form of (hdn,m),
where n is the hard drive number
and m is the partition number.
mine sda2 is extended partition
sda5,sda6 -lfs ,sda7-lfs-swap are logical partitions
in my case hard drive number?
partition numbers are 1,2.extended-5,6,7
----------------------------
how to start to reach chpter 8?

janakiramulu 05-01-2011 05:55 AM

hi druuna
k i got
sda-hard driveno-0
sdb-hard drive no-1
sdc-hard drive -2
right


/sbin/reboot
...
grub> root (sda,6)
grub> kernel /boot/grub/core.img
grub> boot
in my case it would be like this right
you know i am very tense,its 3 days cont work
now i didnt get any result
so,
please kind enough can u make the currections to do my lfs-success plz
now what to do tell me ,instead of slap me (your words look like)


All times are GMT -5. The time now is 11:45 PM.